|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcbase.PropertyPathFactory
public class PropertyPathFactory
Factory class for PropertyPath
and PropertyPathStep
instances.
PropertyPath
,
PropertyPathStep
Constructor Summary | |
---|---|
PropertyPathFactory()
|
Method Summary | |
---|---|
static AnyStep |
createAnyStep()
|
static AnyStep |
createAnyStep(int index)
|
static PropertyPathStep |
createAttributePropertyPathStep(QualifiedName attrName)
Creates a new PropertyPathStep instance that selects the attribute with the given name. |
static PropertyPath |
createPropertyPath(java.util.List<PropertyPathStep> steps)
Creates a new PropertyPath instance with the specified steps. |
static PropertyPath |
createPropertyPath(PropertyPath propertyPath,
int fromIndex,
int toIndex)
Creates a new PropertyPath instance that consists of a subset of the steps from the given
PropertyPath . |
static PropertyPath |
createPropertyPath(QualifiedName elementName)
Creates a new PropertyPath instance that consists of one element step. |
static PropertyPathStep |
createPropertyPathStep(QualifiedName elementName)
Creates a new PropertyPathStep instance that selects the element with the given name. |
static PropertyPathStep |
createPropertyPathStep(QualifiedName elementName,
int selectedIndex)
Creates a new PropertyPathStep instance that selects the specified occurence of the element with
the given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyPathFactory()
Method Detail |
---|
public static PropertyPath createPropertyPath(QualifiedName elementName)
PropertyPath
instance that consists of one element step.
elementName
- name of selected element
PropertyPath
instancepublic static PropertyPath createPropertyPath(PropertyPath propertyPath, int fromIndex, int toIndex)
PropertyPath
instance that consists of a subset of the steps from the given
PropertyPath
.
propertyPath
- original PropertyPath
fromIndex
- index of the first step to be includedtoIndex
- index of the final step to be included
PropertyPath
instancepublic static PropertyPath createPropertyPath(java.util.List<PropertyPathStep> steps)
PropertyPath
instance with the specified steps.
steps
- property path steps, may not be null
PropertyPath
instancepublic static PropertyPathStep createAttributePropertyPathStep(QualifiedName attrName)
PropertyPathStep
instance that selects the attribute with the given name.
attrName
- attribute to be selected
PropertyPathStep
instancepublic static PropertyPathStep createPropertyPathStep(QualifiedName elementName)
PropertyPathStep
instance that selects the element with the given name.
elementName
- element to be selected
PropertyPathStep
instancepublic static PropertyPathStep createPropertyPathStep(QualifiedName elementName, int selectedIndex)
PropertyPathStep
instance that selects the specified occurence of the element with
the given name.
elementName
- element to be selectedselectedIndex
- occurence of the element
PropertyPathStep
instancepublic static AnyStep createAnyStep()
public static AnyStep createAnyStep(int index)
index
-
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org