Package com.thaiopensource.resolver.xml
Class XMLDocumentIdentifier
java.lang.Object
com.thaiopensource.resolver.Identifier
com.thaiopensource.resolver.xml.XMLDocumentIdentifier
An Identifier for an XML document.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn a canonical media type for what's expected.Methods inherited from class com.thaiopensource.resolver.Identifier
getBase, getUriReference
-
Field Details
-
MEDIA_TYPE
- See Also:
-
-
Constructor Details
-
XMLDocumentIdentifier
- Parameters:
href
-base
-namespaceUri
- the expected namespace URI of the root element of the XML document
-
-
Method Details
-
getNamespaceUri
- Returns:
- the expected namespace name of root element; "" if no namespace is expected; null if no information is available about the expected namespace name.
-
getMediaType
Description copied from class:Identifier
Return a canonical media type for what's expected. Never null.- Overrides:
getMediaType
in classIdentifier
-