Package com.tangosol.run.xml
Class XmlDocumentReference
java.lang.Object
com.tangosol.run.xml.XmlDocumentReference
An
XmlDocumentReference provides an mechanism to reference an XmlDocument.- Author:
- Brian Oliver
-
Constructor Summary
ConstructorsConstructorDescriptionXmlDocumentReference(String sXmlDocument) Standard Constructor.XmlDocumentReference(URI uriXmlDocument) Standard Constructor. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves a copy of theXmlDocumentspecified by theXmlDocumentReference.getXmlDocument(ClassLoader classLoader) Retrieves a copy of theXmlDocumentspecified by theXmlDocumentReference.
-
Constructor Details
-
XmlDocumentReference
Standard Constructor.- Parameters:
sXmlDocument- AStringrepresentation of theXmlDocument.
-
XmlDocumentReference
Standard Constructor.- Parameters:
uriXmlDocument-URIof theXmlDocument.
-
-
Method Details
-
getXmlDocument
Retrieves a copy of theXmlDocumentspecified by theXmlDocumentReference.- Parameters:
classLoader- TheClassLoaderto use for locating and loading theXmlDocumentif necessary.- Returns:
- An
XmlDocument.
-
getXmlDocument
Retrieves a copy of theXmlDocumentspecified by theXmlDocumentReference.- Returns:
- An
XmlDocument.
-