Class ForeignAttributesImpl

    • Constructor Detail

      • ForeignAttributesImpl

        public ForeignAttributesImpl​(org.relaxng.datatype.ValidationContext context,
                                     Locator locator,
                                     ForeignAttributesImpl next)
    • Method Detail

      • getContext

        public org.relaxng.datatype.ValidationContext getContext()
        Description copied from interface: ForeignAttributes
        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 using ValidationContext.resolveNamespacePrefix(String).

        Specified by:
        getContext in interface ForeignAttributes
        Returns:
        always non-null.