public class WebDescriptor extends Descriptor
Modifier and Type | Field and Description |
---|---|
protected ArrayList<String> |
_classNames |
protected boolean |
_distributable |
protected boolean |
_isOrdered |
protected int |
_majorVersion |
protected MetaDataComplete |
_metaDataComplete |
protected int |
_minorVersion |
protected List<String> |
_ordering |
protected static XmlParser |
_parserSingleton |
_parser, _root, _validating, _xml
Constructor and Description |
---|
WebDescriptor(Resource xml) |
Modifier and Type | Method and Description |
---|---|
void |
addClassName(String className) |
void |
ensureParser() |
ArrayList<String> |
getClassNames() |
int |
getMajorVersion() |
MetaDataComplete |
getMetaDataComplete() |
int |
getMinorVersion() |
List<String> |
getOrdering() |
boolean |
isDistributable() |
boolean |
isOrdered() |
boolean |
isValidating() |
static XmlParser |
newParser(boolean validating) |
void |
parse() |
void |
processOrdering() |
void |
processVersion() |
void |
setDistributable(boolean distributable) |
void |
setValidating(boolean validating) |
getResource, getRoot, toString
protected static XmlParser _parserSingleton
protected MetaDataComplete _metaDataComplete
protected int _majorVersion
protected int _minorVersion
protected boolean _distributable
protected boolean _isOrdered
public WebDescriptor(Resource xml)
public void ensureParser() throws ClassNotFoundException
ensureParser
in class Descriptor
ClassNotFoundException
public static XmlParser newParser(boolean validating) throws ClassNotFoundException
ClassNotFoundException
public void parse() throws Exception
parse
in class Descriptor
Exception
public MetaDataComplete getMetaDataComplete()
public int getMajorVersion()
public int getMinorVersion()
public void processVersion()
public void processOrdering()
public void addClassName(String className)
public void setDistributable(boolean distributable)
public boolean isDistributable()
public void setValidating(boolean validating)
setValidating
in class Descriptor
public boolean isValidating()
public boolean isOrdered()
Copyright © 1995-2015 Webtide. All Rights Reserved.