public final class ForeignAttributesImpl extends AttributesImpl implements ForeignAttributes
| Constructor and Description |
|---|
ForeignAttributesImpl(ValidationContext context,
Locator locator,
ForeignAttributesImpl next) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addAttribute, clear, getIndex, getIndex, getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue, removeAttribute, setAttribute, setAttributes, setLocalName, setQName, setType, setURI, setValuepublic ForeignAttributesImpl(ValidationContext context, Locator locator, ForeignAttributesImpl next)
public 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 ForeignAttributespublic Locator getLocator()
ForeignAttributesgetLocator in interface ForeignAttributesCopyright © 2005–2017 Oracle Corporation. All rights reserved.