Package com.sun.xml.xsom.impl
Class ForeignAttributesImpl
java.lang.Object
org.xml.sax.helpers.AttributesImpl
com.sun.xml.xsom.impl.ForeignAttributesImpl
- All Implemented Interfaces:
ForeignAttributes,Attributes
Remembers foreign attributes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.relaxng.datatype.ValidationContextprivate final Locator(package private) final ForeignAttributesImplForeignAttributesforms a linked list. -
Constructor Summary
ConstructorsConstructorDescriptionForeignAttributesImpl(org.relaxng.datatype.ValidationContext context, Locator locator, ForeignAttributesImpl next) -
Method Summary
Modifier and TypeMethodDescriptionorg.relaxng.datatype.ValidationContextReturns context information of the element to which foreign attributes are attached.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
-
Field Details
-
context
private final org.relaxng.datatype.ValidationContext context -
locator
-
next
ForeignAttributesforms a linked list.
-
-
Constructor Details
-
ForeignAttributesImpl
public ForeignAttributesImpl(org.relaxng.datatype.ValidationContext context, Locator locator, ForeignAttributesImpl next)
-
-
Method Details
-
getContext
public org.relaxng.datatype.ValidationContext getContext()Description copied from interface:ForeignAttributesReturns context information of the element to which foreign attributes are attached.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 usingValidationContext.resolveNamespacePrefix(String).- Specified by:
getContextin interfaceForeignAttributes- Returns:
- always non-null.
-
getLocator
Description copied from interface:ForeignAttributesReturns the location of the element to which foreign attributes are attached.- Specified by:
getLocatorin interfaceForeignAttributes
-