|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.AttributesImpl
com.sun.xml.xsom.impl.ForeignAttributesImpl
public final class ForeignAttributesImpl
Remembers foreign attributes.
Constructor Summary | |
---|---|
ForeignAttributesImpl(org.relaxng.datatype.ValidationContext context,
Locator locator,
ForeignAttributesImpl next)
|
Method Summary | |
---|---|
org.relaxng.datatype.ValidationContext |
getContext()
Returns context information of the element to which foreign attributes are attached. |
Locator |
getLocator()
Returns the location of the element to which foreign attributes are attached. |
Methods inherited from class org.xml.sax.helpers.AttributesImpl |
---|
addAttribute, clear, getIndex, getIndex, getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue, removeAttribute, setAttribute, setAttributes, setLocalName, setQName, setType, setURI, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xml.sax.Attributes |
---|
getIndex, getIndex, getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue |
Constructor Detail |
---|
public ForeignAttributesImpl(org.relaxng.datatype.ValidationContext context, Locator locator, ForeignAttributesImpl next)
Method Detail |
---|
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 ForeignAttributes
public Locator getLocator()
ForeignAttributes
getLocator
in interface ForeignAttributes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |