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, setValue
public 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 ForeignAttributes
public Locator getLocator()
ForeignAttributes
getLocator
in interface ForeignAttributes
Copyright © 2021 JBoss by Red Hat. All rights reserved.