sk.uniba.euromath.document.schema
Class QNameAcceptors

java.lang.Object
  extended by sk.uniba.euromath.document.schema.QNameAcceptors

public final class QNameAcceptors
extends Object

Contains various qname acceptors.

Author:
Martin Vysny

Field Summary
static IQNameAcceptor ALL
          Accepts all qnames.
 
Constructor Summary
QNameAcceptors()
           
 
Method Summary
static IQNameAcceptor createNotPresentAcceptor(Element e)
          Creates an acceptor that accepts the qname if and only if there is no attribute in given element with such qname.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final IQNameAcceptor ALL
Accepts all qnames.

Constructor Detail

QNameAcceptors

public QNameAcceptors()
Method Detail

createNotPresentAcceptor

public static IQNameAcceptor createNotPresentAcceptor(Element e)
Creates an acceptor that accepts the qname if and only if there is no attribute in given element with such qname.

Parameters:
e - the element.
Returns:
the acceptor.


Copyright © 2003-2006 null. All Rights Reserved.