Package com.thaiopensource.resolver.xml
Class XMLDocumentIdentifier
- java.lang.Object
-
- com.thaiopensource.resolver.Identifier
-
- com.thaiopensource.resolver.xml.XMLDocumentIdentifier
-
public class XMLDocumentIdentifier extends Identifier
An Identifier for an XML document.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMEDIA_TYPE
-
Constructor Summary
Constructors Constructor Description XMLDocumentIdentifier(java.lang.String href, java.lang.String base, java.lang.String namespaceUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMediaType()Return a canonical media type for what's expected.java.lang.StringgetNamespaceUri()-
Methods inherited from class com.thaiopensource.resolver.Identifier
getBase, getUriReference
-
-
-
-
Field Detail
-
MEDIA_TYPE
public static final java.lang.String MEDIA_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNamespaceUri
public java.lang.String 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
public java.lang.String getMediaType()
Description copied from class:IdentifierReturn a canonical media type for what's expected. Never null.- Overrides:
getMediaTypein classIdentifier
-
-