public final class ForeignAttributesImpl extends org.xml.sax.helpers.AttributesImpl implements ForeignAttributes
| Modifier and Type | Field and Description |
|---|---|
private org.relaxng.datatype.ValidationContext |
context |
private org.xml.sax.Locator |
locator |
(package private) ForeignAttributesImpl |
next
ForeignAttributes forms a linked list. |
| Constructor and Description |
|---|
ForeignAttributesImpl(org.relaxng.datatype.ValidationContext context,
org.xml.sax.Locator locator,
ForeignAttributesImpl next) |
| Modifier and Type | Method and Description |
|---|---|
org.relaxng.datatype.ValidationContext |
getContext()
Returns context information of the element to which foreign attributes
are attached.
|
org.xml.sax.Locator |
getLocator()
Returns the location of the element to which foreign attributes
are attached.
|
addAttribute, clear, getIndex, getIndex, getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue, removeAttribute, setAttribute, setAttributes, setLocalName, setQName, setType, setURI, setValueprivate final org.relaxng.datatype.ValidationContext context
private final org.xml.sax.Locator locator
final ForeignAttributesImpl next
ForeignAttributes forms a linked list.public ForeignAttributesImpl(org.relaxng.datatype.ValidationContext context,
org.xml.sax.Locator locator,
ForeignAttributesImpl next)
public org.relaxng.datatype.ValidationContext getContext()
ForeignAttributes
For example, this can be used to resolve relative references to other resources
(by using ValidationContext.getBaseUri()) or to resolve
namespace prefixes in the attribute values (by using ValidationContext.resolveNamespacePrefix(String).
getContext in interface ForeignAttributespublic org.xml.sax.Locator getLocator()
ForeignAttributesgetLocator in interface ForeignAttributes