Package org.eclipse.jetty.webapp
Class FragmentDescriptor
- java.lang.Object
-
- org.eclipse.jetty.webapp.Descriptor
-
- org.eclipse.jetty.webapp.WebDescriptor
-
- org.eclipse.jetty.webapp.FragmentDescriptor
-
public class FragmentDescriptor extends WebDescriptor
Fragment A web-fragment.xml descriptor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FragmentDescriptor.OtherType
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>
_afters
protected java.util.List<java.lang.String>
_befores
protected static int
_counter
protected java.lang.String
_name
protected FragmentDescriptor.OtherType
_otherType
static java.lang.String
NAMELESS
-
Fields inherited from class org.eclipse.jetty.webapp.WebDescriptor
_classNames, _distributable, _isOrdered, _majorVersion, _metaDataComplete, _minorVersion, _nonValidatingStaticParser, _ordering
-
Fields inherited from class org.eclipse.jetty.webapp.Descriptor
_dtd, _root, _validating, _xml
-
-
Constructor Summary
Constructors Constructor Description FragmentDescriptor(Resource xml)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getAfters()
java.util.List<java.lang.String>
getBefores()
java.lang.String
getName()
java.util.List<java.lang.String>
getOrdering()
FragmentDescriptor.OtherType
getOtherType()
void
parse()
void
processAfters(XmlParser.Node ordering)
void
processBefores(XmlParser.Node ordering)
void
processName()
void
processOrdering()
-
Methods inherited from class org.eclipse.jetty.webapp.WebDescriptor
addClassName, ensureParser, getClassNames, getMajorVersion, getMetaDataComplete, getMinorVersion, isDistributable, isOrdered, isValidating, newParser, processVersion, setDistributable, setValidating
-
Methods inherited from class org.eclipse.jetty.webapp.Descriptor
getResource, getRoot, toString
-
-
-
-
Field Detail
-
NAMELESS
public static final java.lang.String NAMELESS
- See Also:
- Constant Field Values
-
_counter
protected static int _counter
-
_otherType
protected FragmentDescriptor.OtherType _otherType
-
_befores
protected java.util.List<java.lang.String> _befores
-
_afters
protected java.util.List<java.lang.String> _afters
-
_name
protected java.lang.String _name
-
-
Constructor Detail
-
FragmentDescriptor
public FragmentDescriptor(Resource xml) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
getName
public java.lang.String getName()
-
parse
public void parse() throws java.lang.Exception
- Overrides:
parse
in classWebDescriptor
- Throws:
java.lang.Exception
-
processName
public void processName()
-
processOrdering
public void processOrdering()
- Overrides:
processOrdering
in classWebDescriptor
-
processBefores
public void processBefores(XmlParser.Node ordering)
-
processAfters
public void processAfters(XmlParser.Node ordering)
-
getBefores
public java.util.List<java.lang.String> getBefores()
-
getAfters
public java.util.List<java.lang.String> getAfters()
-
getOtherType
public FragmentDescriptor.OtherType getOtherType()
-
getOrdering
public java.util.List<java.lang.String> getOrdering()
- Overrides:
getOrdering
in classWebDescriptor
-
-