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