public class XMPPathSegment
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
XMPPathSegment.Type
Types of path segments
|
Modifier and Type | Method and Description |
---|---|
static XMPPathSegment |
createArrayIndexSegment(java.lang.String namespace,
int index)
Creates an array index path segment that denotes a specific element of an array.
|
static XMPPathSegment |
createPropertySegment(java.lang.String namespace,
java.lang.String name)
Creates a normal property path segment.
|
static XMPPathSegment |
createQualifierSegment(java.lang.String namespace,
java.lang.String name)
Creates a Qualifier path segment, which behaves like a normal property
|
static XMPPathSegment |
createQualifierSelectorSegment(java.lang.String namespace,
java.lang.String name,
java.lang.String value)
Creates a path segment that selects a specific qualifier by its value.
|
boolean |
equals(java.lang.Object obj) |
int |
getIndex() |
java.lang.String |
getName() |
java.lang.String |
getNamespace() |
XMPPathSegment.Type |
getType() |
java.lang.String |
getValue() |
int |
hashCode() |
public static XMPPathSegment createPropertySegment(java.lang.String namespace, java.lang.String name)
namespace
- Namespace URI of the propertyname
- Local name of the propertypublic static XMPPathSegment createArrayIndexSegment(java.lang.String namespace, int index)
namespace
- Namespace URI of the array propertyindex
- Index of the elementpublic static XMPPathSegment createQualifierSegment(java.lang.String namespace, java.lang.String name)
namespace
- Namespace URI of the qualifier propertyname
- Local name of the qualifier propertypublic static XMPPathSegment createQualifierSelectorSegment(java.lang.String namespace, java.lang.String name, java.lang.String value)
namespace
- Namespace URI of the propertyname
- Local name of the propertyvalue
- The value that depicts the specific qualifierpublic java.lang.String getNamespace()
public java.lang.String getName()
public XMPPathSegment.Type getType()
public int getIndex()
public java.lang.String getValue()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"