org.eclipse.jetty.webapp
Class Descriptor
java.lang.Object
org.eclipse.jetty.webapp.Descriptor
- Direct Known Subclasses:
- DefaultsDescriptor, FragmentDescriptor, OverrideDescriptor
public class Descriptor
- extends Object
Descriptor
A web descriptor (web.xml/web-defaults.xml/web-overrides.xml).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_parser
protected static XmlParser _parser
_xml
protected Resource _xml
_root
protected XmlParser.Node _root
_metaDataComplete
protected Descriptor.MetaDataComplete _metaDataComplete
_majorVersion
protected int _majorVersion
_minorVersion
protected int _minorVersion
_classNames
protected ArrayList<String> _classNames
_distributable
protected boolean _distributable
_validating
protected boolean _validating
_metaData
protected MetaData _metaData
_isOrdered
protected boolean _isOrdered
_ordering
protected List<String> _ordering
Descriptor
public Descriptor(Resource xml,
MetaData md)
newParser
public static XmlParser newParser()
throws ClassNotFoundException
- Throws:
ClassNotFoundException
redirect
protected static void redirect(XmlParser parser,
String resource,
URL source)
parse
public void parse()
throws Exception
- Throws:
Exception
getMetaDataComplete
public Descriptor.MetaDataComplete getMetaDataComplete()
getRoot
public XmlParser.Node getRoot()
getMajorVersion
public int getMajorVersion()
getMinorVersion
public int getMinorVersion()
getResource
public Resource getResource()
getMetaData
public MetaData getMetaData()
processVersion
public void processVersion()
processOrdering
public void processOrdering()
addClassName
public void addClassName(String className)
getClassNames
public ArrayList<String> getClassNames()
setDistributable
public void setDistributable(boolean distributable)
isDistributable
public boolean isDistributable()
setValidating
public void setValidating(boolean validating)
isOrdered
public boolean isOrdered()
getOrdering
public List<String> getOrdering()
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.