Uses of Class
org.dom4j.Namespace
-
Packages that use Namespace Package Description org.apache.directory.api.dsmlv2 org.dom4j Defines the XML Document Object Model in Java interfaces together with some helper classes.org.dom4j.bean An implementation of the dom4j API which allows JavaBeans to be used to store and retrieve attribute values from Element.org.dom4j.datatype An implementation of the dom4j API which supports the XML Schema Data Types specification.org.dom4j.dom An implementation of the dom4j API which also supports the W3C object model.org.dom4j.io Provides input and output via SAX and DOM together with writing dom4j objects to streams as XML text.org.dom4j.tree Contains the default implementations of the dom4j Document Object Model together with some helpful base classes for those wishing to implement their own document object model.org.dom4j.util A collection of utility classes for the dom4j API. -
-
Uses of Namespace in org.apache.directory.api.dsmlv2
Fields in org.apache.directory.api.dsmlv2 declared as Namespace Modifier and Type Field Description static NamespaceParserUtils. DSML_NAMESPACEThe DSML namespacestatic NamespaceParserUtils. XSD_NAMESPACEThe XSD namespacestatic NamespaceParserUtils. XSI_NAMESPACEThe XSI namespace -
Uses of Namespace in org.dom4j
Fields in org.dom4j declared as Namespace Modifier and Type Field Description static NamespaceNamespace. NO_NAMESPACENo Namespace presentstatic NamespaceNamespace. XML_NAMESPACEXML NamespaceMethods in org.dom4j that return Namespace Modifier and Type Method Description NamespaceDocumentFactory. createNamespace(String prefix, String uri)static NamespaceDocumentHelper. createNamespace(String prefix, String uri)static NamespaceNamespace. get(String uri)A helper method to return the Namespace instance for no prefix and the URIstatic NamespaceNamespace. get(String prefix, String uri)A helper method to return the Namespace instance for the given prefix and URINamespaceAttribute. getNamespace()Returns theNamespaceof this element if one exists otherwise null is returned returned.NamespaceElement. getNamespace()Returns theNamespaceof this element if one exists otherwiseNamespace.NO_NAMESPACEis returned.NamespaceQName. getNamespace()DOCUMENT ME!NamespaceElement. getNamespaceForPrefix(String prefix)Returns theNamespacewhich is mapped to the given prefix or null if it could not be found.NamespaceElement. getNamespaceForURI(String uri)Returns theNamespacewhich is mapped to the given URI or null if it could not be found.Methods in org.dom4j that return types with arguments of type Namespace Modifier and Type Method Description List<Namespace>Element. additionalNamespaces()Returns any additional namespaces declarations for this element other than namespace returned via theElement.getNamespace()method.List<Namespace>Element. declaredNamespaces()Returns all the namespaces declared by this element.List<Namespace>Element. getNamespacesForURI(String uri)Returns the all namespaces which are mapped to the given URI or an empty list if no such namespaces could be found.Methods in org.dom4j with parameters of type Namespace Modifier and Type Method Description voidElement. add(Namespace namespace)Adds the givenNamespaceto this element.QNameDocumentFactory. createQName(String localName, Namespace namespace)static QNameDocumentHelper. createQName(String localName, Namespace namespace)static QNameQName. get(String name, Namespace namespace)static QNameQName. get(String localName, Namespace namespace, String qualifiedName)booleanElement. remove(Namespace namespace)Removes the givenNamespaceif the node is an immediate child of this element.voidAttribute. setNamespace(Namespace namespace)Sets theNamespaceof this element or if this element is read only then anUnsupportedOperationExceptionis thrown.voidVisitor. visit(Namespace namespace)Visits the givenNamespacevoidVisitorSupport. visit(Namespace namespace)Constructors in org.dom4j with parameters of type Namespace Constructor Description QName(String name, Namespace namespace)QName(String name, Namespace namespace, String qualifiedName) -
Uses of Namespace in org.dom4j.bean
Constructors in org.dom4j.bean with parameters of type Namespace Constructor Description BeanElement(String name, Namespace namespace, Object bean) -
Uses of Namespace in org.dom4j.datatype
Methods in org.dom4j.datatype with parameters of type Namespace Modifier and Type Method Description voidSchemaParser. build(Document schemaDocument, Namespace namespace)protected voidDatatypeDocumentFactory. loadSchema(Document document, String schemaInstanceURI, Namespace namespace)voidDatatypeDocumentFactory. loadSchema(Document schemaDocument, Namespace targetNamespace) -
Uses of Namespace in org.dom4j.dom
Subclasses of Namespace in org.dom4j.dom Modifier and Type Class Description classDOMNamespaceDOMNamespaceimplements a Namespace that is compatable with the DOM API.Methods in org.dom4j.dom that return Namespace Modifier and Type Method Description NamespaceDOMDocumentFactory. createNamespace(String prefix, String uri)Constructors in org.dom4j.dom with parameters of type Namespace Constructor Description DOMElement(String name, Namespace namespace) -
Uses of Namespace in org.dom4j.io
Methods in org.dom4j.io that return Namespace Modifier and Type Method Description NamespaceSTAXEventReader. createNamespace(Namespace ns)Constructs a new DOM4J Namespace from the provided StAX Namespace event.protected NamespaceDOMReader. getNamespace(String prefix, String uri)NamespaceSTAXEventReader. readNamespace(XMLEventReader reader)Constructs a DOM4J Namespace from the provided event stream.Methods in org.dom4j.io with parameters of type Namespace Modifier and Type Method Description protected AttributesImplSAXWriter. addNamespaceAttribute(AttributesImpl attrs, Namespace namespace)If isDelcareNamespaceAttributes() is enabled then this method will add the given namespace declaration to the supplied attributes object, creating one if it does not exist.protected StringDOMSAXContentHandler. attributeNameForNamespace(Namespace namespace)protected StringDOMWriter. attributeNameForNamespace(Namespace namespace)NamespaceSTAXEventWriter. createNamespace(Namespace ns)protected booleanSAXWriter. isIgnoreableNamespace(Namespace namespace, NamespaceStack namespaceStack)DOCUMENT ME!protected booleanDOMWriter. isNamespaceDeclaration(Namespace ns)protected booleanXMLWriter. isNamespaceDeclaration(Namespace ns)voidXMLWriter. write(Namespace namespace)Writes the givenNamespace.protected voidDOMWriter. writeNamespace(Element domElement, Namespace namespace)voidSTAXEventWriter. writeNamespace(Namespace ns)Writes a DOM4JNamespaceto the stream.protected voidXMLWriter. writeNamespace(Namespace namespace) -
Uses of Namespace in org.dom4j.tree
Subclasses of Namespace in org.dom4j.tree Modifier and Type Class Description classDefaultNamespaceDefaultNamespaceimplements a doubly linked node which supports the parent relationship and is mutable.Fields in org.dom4j.tree with type parameters of type Namespace Modifier and Type Field Description protected static Map<String,Map<String,WeakReference<Namespace>>>NamespaceCache. cacheprotected Map<Namespace,Map<String,QName>>QNameCache. namespaceCacheprotected static Map<String,WeakReference<Namespace>>NamespaceCache. noPrefixCacheCache ofNamespaceinstances indexed by URI for default namespaces with no prefixesMethods in org.dom4j.tree that return Namespace Modifier and Type Method Description NamespaceNamespaceStack. addNamespace(String prefix, String uri)Adds a new namespace to the stackprotected NamespaceNamespaceCache. createNamespace(String prefix, String uri)A factory method to createNamespaceinstanceprotected NamespaceNamespaceStack. createNamespace(String prefix, String namespaceURI)Factory method to creeate new Namespace instances.protected NamespaceNamespaceStack. findDefaultNamespace()Attempts to find the current default namespace on the stack right now or returns null if one could not be foundNamespaceNamespaceCache. get(String uri)DOCUMENT ME!NamespaceNamespaceCache. get(String prefix, String uri)DOCUMENT ME!NamespaceNamespaceStack. getDefaultNamespace()NamespaceAbstractAttribute. getNamespace()NamespaceAbstractElement. getNamespace()NamespaceNamespaceStack. getNamespace(int index)DOCUMENT ME!NamespaceAbstractElement. getNamespaceForPrefix(String prefix)NamespaceDefaultElement. getNamespaceForPrefix(String prefix)NamespaceNamespaceStack. getNamespaceForPrefix(String prefix)DOCUMENT ME!NamespaceAbstractElement. getNamespaceForURI(String uri)NamespaceDefaultElement. getNamespaceForURI(String uri)NamespaceNamespaceStack. pop()Pops the most recently usedNamespacefrom the stackNamespaceNamespaceStack. pop(String prefix)Pops a namepace from the stack with the given prefix and URIprotected NamespaceNamespaceStack. remove(int index)Removes the namespace at the given index of the stackMethods in org.dom4j.tree that return types with arguments of type Namespace Modifier and Type Method Description List<Namespace>AbstractElement. additionalNamespaces()List<Namespace>AbstractElement. additionalNamespaces(String defaultNamespaceURI)List<Namespace>DefaultElement. additionalNamespaces()List<Namespace>DefaultElement. additionalNamespaces(String defaultNamespaceURI)List<Namespace>AbstractElement. declaredNamespaces()List<Namespace>DefaultElement. declaredNamespaces()List<Namespace>AbstractElement. getNamespacesForURI(String uri)protected Map<String,WeakReference<Namespace>>NamespaceCache. getURICache(String uri)DOCUMENT ME!Methods in org.dom4j.tree with parameters of type Namespace Modifier and Type Method Description voidAbstractElement. add(Namespace namespace)AttributeAbstractElement. attribute(String name, Namespace namespace)AttributeDefaultElement. attribute(String name, Namespace namespace)booleanNamespaceStack. contains(Namespace namespace)DOCUMENT ME!protected QNameNamespaceStack. createQName(String localName, String qualifiedName, Namespace namespace)Factory method to creeate new QName instances.protected QNameQNameCache. createQName(String name, Namespace namespace)Factory method to create a new QName object which can be overloaded to create derived QName instancesprotected QNameQNameCache. createQName(String name, Namespace namespace, String qualifiedName)Factory method to create a new QName object which can be overloaded to create derived QName instancesElementAbstractElement. element(String name, Namespace namespace)ElementDefaultElement. element(String name, Namespace namespace)Iterator<Element>AbstractElement. elementIterator(String name, Namespace ns)List<Element>AbstractElement. elements(String name, Namespace namespace)QNameQNameCache. get(String name, Namespace namespace)DOCUMENT ME!QNameQNameCache. get(String localName, Namespace namespace, String qName)DOCUMENT ME!protected Map<String,QName>QNameCache. getNamespaceCache(Namespace namespace)DOCUMENT ME!voidNamespaceStack. push(Namespace namespace)Pushes the given namespace onto the stack so that its prefix becomes available.protected QNameNamespaceStack. pushQName(String localName, String qualifiedName, Namespace namespace, String prefix)Adds the QName to the stack of available QNamesbooleanAbstractElement. remove(Namespace namespace)voidAbstractAttribute. setNamespace(Namespace namespace)voidAbstractElement. setNamespace(Namespace namespace)Constructors in org.dom4j.tree with parameters of type Namespace Constructor Description BaseElement(String name, Namespace namespace)DefaultAttribute(String name, String value, Namespace namespace)Creates theAttributewith the specified local name, value andNamespace.DefaultAttribute(Element parent, String name, String value, Namespace namespace)Creates theAttributewith the specified local name, value andNamespace.DefaultElement(String name, Namespace namespace)FlyweightAttribute(String name, String value, Namespace namespace)Creates theAttributewith the specified local name, value andNamespace. -
Uses of Namespace in org.dom4j.util
Methods in org.dom4j.util that return Namespace Modifier and Type Method Description NamespaceProxyDocumentFactory. createNamespace(String prefix, String uri)Methods in org.dom4j.util with parameters of type Namespace Modifier and Type Method Description intNodeComparator. compare(Namespace n1, Namespace n2)QNameProxyDocumentFactory. createQName(String localName, Namespace namespace)Constructors in org.dom4j.util with parameters of type Namespace Constructor Description NonLazyElement(String name, Namespace namespace)
-