Package org.eclipse.jetty.webapp
Class Descriptor
- java.lang.Object
-
- org.eclipse.jetty.webapp.Descriptor
-
- Direct Known Subclasses:
WebDescriptor
public abstract class Descriptor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String_dtdprotected XmlParser.Node_rootprotected boolean_validatingprotected Resource_xml
-
Constructor Summary
Constructors Constructor Description Descriptor(Resource xml)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract XmlParserensureParser()ResourcegetResource()XmlParser.NodegetRoot()voidparse()voidsetValidating(boolean validating)java.lang.StringtoString()
-
-
-
Field Detail
-
_xml
protected Resource _xml
-
_root
protected XmlParser.Node _root
-
_dtd
protected java.lang.String _dtd
-
_validating
protected boolean _validating
-
-
Constructor Detail
-
Descriptor
public Descriptor(Resource xml)
-
-
Method Detail
-
ensureParser
public abstract XmlParser ensureParser() throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
setValidating
public void setValidating(boolean validating)
-
parse
public void parse() throws java.lang.Exception- Throws:
java.lang.Exception
-
getResource
public Resource getResource()
-
getRoot
public XmlParser.Node getRoot()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-