org.apache.axiom.ts.om.sourcedelement
Class OMSourcedElementVariant

java.lang.Object
  extended by org.apache.axiom.ts.om.sourcedelement.OMSourcedElementVariant

public abstract class OMSourcedElementVariant
extends Object


Field Summary
static OMSourcedElementVariant[] INSTANCES
           
 
Constructor Summary
OMSourcedElementVariant(String name, boolean localNameRequiresExpansion, boolean namespaceURIRequiresExpansion, boolean prefixRequiresExpansion)
           
 
Method Summary
 void addTestProperties(org.apache.axiom.testutils.suite.TestCaseEx test)
           
abstract  OMSourcedElement createOMSourcedElement(OMFactory factory, QName qname)
           
 String getName()
           
 boolean isLocalNameRequiresExpansion()
           
 boolean isNamespaceURIRequiresExpansion()
           
 boolean isPrefixRequiresExpansion(QName qname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCES

public static final OMSourcedElementVariant[] INSTANCES
Constructor Detail

OMSourcedElementVariant

public OMSourcedElementVariant(String name,
                               boolean localNameRequiresExpansion,
                               boolean namespaceURIRequiresExpansion,
                               boolean prefixRequiresExpansion)
Method Detail

getName

public String getName()

isLocalNameRequiresExpansion

public boolean isLocalNameRequiresExpansion()

isNamespaceURIRequiresExpansion

public boolean isNamespaceURIRequiresExpansion()

isPrefixRequiresExpansion

public boolean isPrefixRequiresExpansion(QName qname)

addTestProperties

public void addTestProperties(org.apache.axiom.testutils.suite.TestCaseEx test)

createOMSourcedElement

public abstract OMSourcedElement createOMSourcedElement(OMFactory factory,
                                                        QName qname)
                                                 throws Exception
Throws:
Exception


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.