Package com.sun.xml.xsom
Interface ForeignAttributes
-
- All Superinterfaces:
org.xml.sax.Attributes
- All Known Implementing Classes:
ForeignAttributesImpl
public interface ForeignAttributes extends org.xml.sax.Attributes
Foreign attributes on schema elements.This is not a schema component as defined in the spec, but this is often useful for a schema processing application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getContext
org.relaxng.datatype.ValidationContext getContext()
Returns 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)
.- Returns:
- always non-null.
-
getLocator
org.xml.sax.Locator getLocator()
Returns the location of the element to which foreign attributes are attached.
-
-