Uses of Class
org.jdom2.Attribute
-
Packages that use Attribute Package Description org.jdom2 Classes representing the components of an XML document.org.jdom2.filter Classes to both filter and generically type-cast nodes of a document based on type, name, value, or other aspects, and to boolean AND/OR/NEGATE these rules.org.jdom2.output Classes to output JDOM documents to various destinations.org.jdom2.output.support Classes used to implement output functionality that are not part of the actual Output API, but rather part of the implementation.org.jdom2.util Classes that implement useful functionality, but are not easy to categorise. -
-
Uses of Attribute in org.jdom2
Methods in org.jdom2 that return Attribute Modifier and Type Method Description AttributeDefaultJDOMFactory. attribute(java.lang.String name, java.lang.String value)AttributeDefaultJDOMFactory. attribute(java.lang.String name, java.lang.String value, int type)Deprecated.AttributeDefaultJDOMFactory. attribute(java.lang.String name, java.lang.String value, int type, Namespace namespace)Deprecated.AttributeDefaultJDOMFactory. attribute(java.lang.String name, java.lang.String value, AttributeType type)AttributeDefaultJDOMFactory. attribute(java.lang.String name, java.lang.String value, AttributeType type, Namespace namespace)AttributeDefaultJDOMFactory. attribute(java.lang.String name, java.lang.String value, Namespace namespace)AttributeJDOMFactory. attribute(java.lang.String name, java.lang.String value)This will create a newAttributewith the specified (local) name and value, and does not place the attribute in a.NamespaceAttributeJDOMFactory. attribute(java.lang.String name, java.lang.String value, int type)Deprecated.AttributeJDOMFactory. attribute(java.lang.String name, java.lang.String value, int type, Namespace namespace)Deprecated.AttributeJDOMFactory. attribute(java.lang.String name, java.lang.String value, AttributeType type)This will create a newAttributewith the specified (local) name, value and type, and does not place the attribute in a.NamespaceAttributeJDOMFactory. attribute(java.lang.String name, java.lang.String value, AttributeType type, Namespace namespace)This will create a newAttributewith the specified (local) name, value, and type, and in the provided.NamespaceAttributeJDOMFactory. attribute(java.lang.String name, java.lang.String value, Namespace namespace)This will create a newAttributewith the specified (local) name and value, and in the provided.NamespaceAttributeSlimJDOMFactory. attribute(java.lang.String name, java.lang.String value)AttributeSlimJDOMFactory. attribute(java.lang.String name, java.lang.String value, int type)Deprecated.AttributeSlimJDOMFactory. attribute(java.lang.String name, java.lang.String value, int type, Namespace namespace)Deprecated.AttributeSlimJDOMFactory. attribute(java.lang.String name, java.lang.String value, AttributeType type)AttributeSlimJDOMFactory. attribute(java.lang.String name, java.lang.String value, AttributeType type, Namespace namespace)AttributeSlimJDOMFactory. attribute(java.lang.String name, java.lang.String value, Namespace namespace)AttributeUncheckedJDOMFactory. attribute(java.lang.String name, java.lang.String value)AttributeUncheckedJDOMFactory. attribute(java.lang.String name, java.lang.String value, int type)Deprecated.AttributeUncheckedJDOMFactory. attribute(java.lang.String name, java.lang.String value, int type, Namespace namespace)Deprecated.AttributeUncheckedJDOMFactory. attribute(java.lang.String name, java.lang.String value, AttributeType type)AttributeUncheckedJDOMFactory. attribute(java.lang.String name, java.lang.String value, AttributeType type, Namespace namespace)AttributeUncheckedJDOMFactory. attribute(java.lang.String name, java.lang.String value, Namespace namespace)AttributeAttribute. clone()AttributeAttribute. detach()Detach this Attribute from its parent.AttributeElement. getAttribute(java.lang.String attname)This returns the attribute for this element with the given name and within no namespace, or null if no such attribute exists.AttributeElement. getAttribute(java.lang.String attname, Namespace ns)This returns the attribute for this element with the given name and within the given Namespace, or null if no such attribute exists.AttributeAttribute. setAttributeType(int type)Deprecated.AttributeAttribute. setAttributeType(AttributeType type)This will set the type of theAttribute.AttributeAttribute. setName(java.lang.String name)This sets the local name of theAttribute.AttributeAttribute. setNamespace(Namespace namespace)This sets thisAttribute's.Namespaceprotected AttributeAttribute. setParent(Element parent)Set this Attribute's parent.AttributeAttribute. setValue(java.lang.String value)This will set the value of theAttribute.Methods in org.jdom2 that return types with arguments of type Attribute Modifier and Type Method Description java.util.List<Attribute>Element. getAttributes()This returns the complete set of attributes for this element, as aListofAttributeobjects in no particular order, or an empty list if there are none.Methods in org.jdom2 with parameters of type Attribute Modifier and Type Method Description static java.lang.StringVerifier. checkNamespaceCollision(Attribute attribute, Element element)static java.lang.StringVerifier. checkNamespaceCollision(Attribute attribute, Element element, int ignoreatt)static java.lang.StringVerifier. checkNamespaceCollision(Namespace namespace, Attribute attribute)booleanElement. removeAttribute(Attribute attribute)This removes the supplied Attribute should it exist.voidDefaultJDOMFactory. setAttribute(Element parent, Attribute a)ElementElement. setAttribute(Attribute attribute)This sets an attribute value for this element.voidJDOMFactory. setAttribute(Element element, Attribute a)Sets a specific Attribute on an ElementvoidUncheckedJDOMFactory. setAttribute(Element parent, Attribute a)Method parameters in org.jdom2 with type arguments of type Attribute Modifier and Type Method Description ElementElement. setAttributes(java.util.Collection<? extends Attribute> newAttributes)This sets the attributes of the element.voidElement. sortAttributes(java.util.Comparator<? super Attribute> comparator)Sort the Attributes of this Element using a mechanism that is safe for JDOM. -
Uses of Attribute in org.jdom2.filter
Methods in org.jdom2.filter that return Attribute Modifier and Type Method Description AttributeAttributeFilter. filter(java.lang.Object content)Check to see if the Content matches a predefined set of rules.Methods in org.jdom2.filter that return types with arguments of type Attribute Modifier and Type Method Description static Filter<Attribute>Filters. attribute()Return a Filter that matches anyAttributedata.static Filter<Attribute>Filters. attribute(java.lang.String name)Return a Filter that matches anyAttributedata with the specified name.static Filter<Attribute>Filters. attribute(java.lang.String name, Namespace ns)Return a Filter that matches anyAttributedata with the specified name and namespace.static Filter<Attribute>Filters. attribute(Namespace ns)Return a Filter that matches anyAttributedata with the specified namespace. -
Uses of Attribute in org.jdom2.output
Methods in org.jdom2.output with parameters of type Attribute Modifier and Type Method Description org.w3c.dom.AttrDOMOutputter. output(Attribute attribute)This converts the JDOMAttributeparameter to a DOM Attr Node, returning the DOM version.org.w3c.dom.AttrDOMOutputter. output(org.w3c.dom.Document basedoc, Attribute attribute)This converts the JDOMAttributeparameter to a DOM Attr Node, returning the DOM version. -
Uses of Attribute in org.jdom2.output.support
Methods in org.jdom2.output.support with parameters of type Attribute Modifier and Type Method Description protected org.w3c.dom.AttrAbstractDOMOutputProcessor. printAttribute(FormatStack fstack, org.w3c.dom.Document basedoc, Attribute attribute)This will handle printing of aAttribute.protected voidAbstractStAXStreamProcessor. printAttribute(javax.xml.stream.XMLStreamWriter out, FormatStack fstack, Attribute attribute)This will handle printing of an.Attributeprotected voidAbstractXMLOutputProcessor. printAttribute(java.io.Writer out, FormatStack fstack, Attribute attribute)This will handle printing of an.Attributeorg.w3c.dom.AttrAbstractDOMOutputProcessor. process(org.w3c.dom.Document basedoc, Format format, Attribute attribute)org.w3c.dom.AttrDOMOutputProcessor. process(org.w3c.dom.Document basedoc, Format format, Attribute attribute)This will convert theusing the given DOM Document to create the resulting DOM Attr.Attribute -
Uses of Attribute in org.jdom2.util
Methods in org.jdom2.util with parameters of type Attribute Modifier and Type Method Description voidNamespaceStack. push(Attribute att)Create a new in-scope level for the Stack based on an Attribute.
-