Package com.sun.xml.xsom
Interface ForeignAttributes
- All Superinterfaces:
Attributes
- All Known Implementing Classes:
ForeignAttributesImpl
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.
- Author:
- Kohsuke Kawaguchi
-
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.
-
Method Details
-
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
Locator getLocator()Returns the location of the element to which foreign attributes are attached.
-