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 booleanprotected booleanprotected intprotected MetaDataCompleteprotected intprotected static XmlParserFields inherited from class org.eclipse.jetty.webapp.Descriptor
_dtd, _root, _validating, _xml -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClassName(String className) intintbooleanbooleanbooleanstatic XmlParsernewParser(boolean validating) voidparse()voidvoidvoidsetDistributable(boolean distributable) voidsetValidating(boolean validating) Methods inherited from class org.eclipse.jetty.webapp.Descriptor
getResource, getRoot, toString
-
Field Details
-
_nonValidatingStaticParser
-
_metaDataComplete
-
_majorVersion
protected int _majorVersion -
_minorVersion
protected int _minorVersion -
_classNames
-
_distributable
protected boolean _distributable -
_isOrdered
protected boolean _isOrdered -
_ordering
-
-
Constructor Details
-
WebDescriptor
public WebDescriptor(org.eclipse.jetty.util.resource.Resource xml)
-
-
Method Details
-
ensureParser
- Specified by:
ensureParserin classDescriptor- Throws:
ClassNotFoundException
-
newParser
- Throws:
ClassNotFoundException
-
parse
- Overrides:
parsein 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:
setValidatingin classDescriptor
-
isValidating
public boolean isValidating() -
isOrdered
public boolean isOrdered() -
getOrdering
-