Package com.tangosol.run.xml
Class XmlDocumentReference
- java.lang.Object
-
- com.tangosol.run.xml.XmlDocumentReference
-
public class XmlDocumentReference extends Object
AnXmlDocumentReference
provides an mechanism to reference anXmlDocument
.- Author:
- Brian Oliver
-
-
Constructor Summary
Constructors Constructor Description XmlDocumentReference(String sXmlDocument)
Standard Constructor.XmlDocumentReference(URI uriXmlDocument)
Standard Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlDocument
getXmlDocument()
Retrieves a copy of theXmlDocument
specified by theXmlDocumentReference
.XmlDocument
getXmlDocument(ClassLoader classLoader)
Retrieves a copy of theXmlDocument
specified by theXmlDocumentReference
.
-
-
-
Constructor Detail
-
XmlDocumentReference
public XmlDocumentReference(String sXmlDocument)
Standard Constructor.- Parameters:
sXmlDocument
- AString
representation of theXmlDocument
.
-
XmlDocumentReference
public XmlDocumentReference(URI uriXmlDocument)
Standard Constructor.- Parameters:
uriXmlDocument
-URI
of theXmlDocument
.
-
-
Method Detail
-
getXmlDocument
public XmlDocument getXmlDocument(ClassLoader classLoader)
Retrieves a copy of theXmlDocument
specified by theXmlDocumentReference
.- Parameters:
classLoader
- TheClassLoader
to use for locating and loading theXmlDocument
if necessary.- Returns:
- An
XmlDocument
.
-
getXmlDocument
public XmlDocument getXmlDocument()
Retrieves a copy of theXmlDocument
specified by theXmlDocumentReference
.- Returns:
- An
XmlDocument
.
-
-