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
_dtd
protected XmlParser.Node
_root
protected boolean
_validating
protected 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 XmlParser
ensureParser()
Resource
getResource()
XmlParser.Node
getRoot()
void
parse()
void
setValidating(boolean validating)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-