Package | Description |
---|---|
uk.ac.sheffield.jast |
Readers for parsing XML to Java and writers for serialising Java to XML.
|
uk.ac.sheffield.jast.valid |
Grammar readers and validation engines for validating XML documents.
|
uk.ac.sheffield.jast.xml |
Types that model the DOM-tree nodes of an XML document object model.
|
Modifier and Type | Method and Description |
---|---|
protected Attribute |
XMLReader.parseAttribute()
Parses an XML attribute.
|
Modifier and Type | Method and Description |
---|---|
protected void |
XMLWriter.writeAttribute(Attribute attribute)
Writes an Attribute.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AttributeRule.accept(Attribute node)
Reports whether this AttributeRule accepts a given XML Attribute node.
|
Modifier and Type | Field and Description |
---|---|
private Attribute |
Namespace.node
The wrapped attribute defining this Namespace, which is an adapter
offering type-safe access to the local name and full identifier.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Attribute> |
Descriptor.attributeList
The list of this Descriptor's attributes, null by default.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
Attribute.clone()
Clones this Attribute node.
|
Attribute |
Descriptor.getAttribute(Filter filter)
Returns the first of this Descriptor's Attributes that satisfies the
matching rule of a Filter.
|
Attribute |
Descriptor.getAttribute(java.lang.String identifier)
Returns a named attribute of this Descriptor.
|
Attribute |
Descriptor.removeAttribute(Attribute node)
Removes an Attribute node from this Descriptor's attribute list.
|
Attribute |
Descriptor.removeAttribute(java.lang.String identifier)
Removes an Attribute node with the given name from this Descriptor's
attribute list.
|
Attribute |
Attribute.setValue(java.lang.String value)
Sets the value of this Attribute.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Attribute> |
Descriptor.getAttributes()
Returns all of this Descriptor's attributes.
|
java.util.List<Attribute> |
Content.getAttributes()
Returns a list of this Content node's Attributes.
|
java.util.List<Attribute> |
Descriptor.getAttributes(Filter filter)
Returns a list of this Descriptor's Attributes that satisfy the
matching rule of a Filter.
|
Modifier and Type | Method and Description |
---|---|
Instruction |
Instruction.addAttribute(Attribute node)
Sets a named property of this Instruction.
|
Element |
Element.addAttribute(Attribute node)
Adds a uniquely-named Attribute of this Element.
|
Doctype |
Doctype.addAttribute(Attribute node)
Sets an attribute of this Doctype.
|
Descriptor |
Descriptor.addAttribute(Attribute node)
Adds a uniquely-named Attribute of this Descriptor.
|
Declaration |
Declaration.addAttribute(Attribute node)
Adds a uniquely named Attribute to this Declaration.
|
Content |
Content.addAttribute(Attribute node)
Adds an Attribute to this Content node.
|
static Namespace |
Namespace.createNamespace(Attribute node)
The factory method for creating a unique Namespace from an Attribute.
|
private void |
Descriptor.fastAddAttribute(Attribute node)
Secret faster method to add a new Attribute, when it is known that no
previous version exists.
|
Attribute |
Descriptor.removeAttribute(Attribute node)
Removes an Attribute node from this Descriptor's attribute list.
|
Constructor and Description |
---|
Namespace(Attribute node)
Creates a Namespace by wrapping an Attribute.
|