Package org.eclipse.jetty.webapp
Class WebDescriptor
java.lang.Object
org.eclipse.jetty.webapp.Descriptor
org.eclipse.jetty.webapp.WebDescriptor
- Direct Known Subclasses:
DefaultsDescriptor
,FragmentDescriptor
,OverrideDescriptor
Descriptor
A web descriptor (web.xml/web-defaults.xml/web-overrides.xml).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected boolean
protected int
protected MetaDataComplete
protected int
protected static XmlParser
private static final Logger
Fields inherited from class org.eclipse.jetty.webapp.Descriptor
_dtd, _root, _validating, _xml
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addClassName
(String className) int
int
boolean
boolean
boolean
static XmlParser
newParser
(boolean validating) void
parse()
void
void
void
setDistributable
(boolean distributable) void
setValidating
(boolean validating) Methods inherited from class org.eclipse.jetty.webapp.Descriptor
getResource, getRoot, toString
-
Field Details
-
LOG
-
_nonValidatingStaticParser
-
_metaDataComplete
-
_majorVersion
protected int _majorVersion -
_minorVersion
protected int _minorVersion -
_classNames
-
_distributable
protected boolean _distributable -
_isOrdered
protected boolean _isOrdered -
_ordering
-
-
Constructor Details
-
WebDescriptor
-
-
Method Details
-
ensureParser
- Specified by:
ensureParser
in classDescriptor
- Throws:
ClassNotFoundException
-
newParser
- Throws:
ClassNotFoundException
-
parse
- Overrides:
parse
in classDescriptor
- Throws:
Exception
-
getMetaDataComplete
-
getMajorVersion
public int getMajorVersion() -
getMinorVersion
public int getMinorVersion() -
processVersion
public void processVersion() -
processOrdering
public void processOrdering() -
addClassName
-
getClassNames
-
setDistributable
public void setDistributable(boolean distributable) -
isDistributable
public boolean isDistributable() -
setValidating
public void setValidating(boolean validating) - Overrides:
setValidating
in classDescriptor
-
isValidating
public boolean isValidating() -
isOrdered
public boolean isOrdered() -
getOrdering
-