public class GenericShorthandParser extends java.lang.Object implements ShorthandParser
Constructor and Description |
---|
GenericShorthandParser()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Property |
convertValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList)
Converts a property name into a Property
|
protected Property |
getElement(Property list,
int index) |
Property |
getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
protected Property getElement(Property list, int index)
list
- the ListPropertyindex
- the index into the List of propertiespublic Property getValueForProperty(int propId, Property property, PropertyMaker maker, PropertyList propertyList) throws PropertyException
getValueForProperty
in interface ShorthandParser
propId
- the property ID in the Constants interfaceproperty
- from which value is obtainedmaker
- Maker object for the PropertypropertyList
- list of propertiesPropertyException
- in case a property exception occursprotected Property convertValueForProperty(int propId, Property property, PropertyMaker maker, PropertyList propertyList) throws PropertyException
propId
- the property ID in the Constants interfacemaker
- the Property.Maker to be used in the conversionproperty
- ...propertyList
- the PropertyList from which the Property should be
extractedPropertyException
- (when?)Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.