org.xml.sax.AttributesForeignAttributesImplpublic interface ForeignAttributes
extends org.xml.sax.Attributes
This is not a schema component as defined in the spec, but this is often useful for a schema processing application.
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
ValidationContext getContext()
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).
org.xml.sax.Locator getLocator()
Copyright © 2018 Oracle Corporation. All rights reserved.