public class XMPPath extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ARRAY_INDEX_STEP
Marks an array index step
|
static int |
ARRAY_LAST_STEP |
static int |
FIELD_SELECTOR_STEP |
static int |
QUAL_SELECTOR_STEP |
static int |
QUALIFIER_STEP
Marks a qualifier step.
|
static int |
SCHEMA_NODE |
static int |
STEP_ROOT_PROP |
static int |
STEP_SCHEMA |
static int |
STRUCT_FIELD_STEP
Marks a struct field step , also for top level nodes (schema "fields").
|
Constructor and Description |
---|
XMPPath() |
Modifier and Type | Method and Description |
---|---|
void |
add(XMPPathSegment segment)
Append a path segment
|
XMPPathSegment |
getSegment(int index) |
int |
size() |
String |
toString()
Serializes the normalized XMP-path.
|
public static final int STRUCT_FIELD_STEP
public static final int QUALIFIER_STEP
public static final int ARRAY_INDEX_STEP
public static final int ARRAY_LAST_STEP
public static final int QUAL_SELECTOR_STEP
public static final int FIELD_SELECTOR_STEP
public static final int SCHEMA_NODE
public static final int STEP_SCHEMA
public static final int STEP_ROOT_PROP
public void add(XMPPathSegment segment)
segment
- the segment to add
public XMPPathSegment getSegment(int index)
index
- the index of the segment to return
public int size()
public String toString()
toString
in class Object
Object.toString()
Copyright © 1998–2019. All rights reserved.