com.itextpdf.xmp.impl.xpath
Class XMPPathSegment
java.lang.Object
com.itextpdf.xmp.impl.xpath.XMPPathSegment
public class XMPPathSegment
- extends Object
A segment of a parsed XMPPath
.
- Since:
- 23.06.2006
XMPPathSegment
public XMPPathSegment(String name)
- Constructor with initial values.
- Parameters:
name
- the name of the segment
XMPPathSegment
public XMPPathSegment(String name,
int kind)
- Constructor with initial values.
- Parameters:
name
- the name of the segmentkind
- the kind of the segment
getKind
public int getKind()
- Returns:
- Returns the kind.
setKind
public void setKind(int kind)
- Parameters:
kind
- The kind to set.
getName
public String getName()
- Returns:
- Returns the name.
setName
public void setName(String name)
- Parameters:
name
- The name to set.
setAlias
public void setAlias(boolean alias)
- Parameters:
alias
- the flag to set
isAlias
public boolean isAlias()
- Returns:
- Returns the alias.
getAliasForm
public int getAliasForm()
- Returns:
- Returns the aliasForm if this segment has been created by an alias.
setAliasForm
public void setAliasForm(int aliasForm)
- Parameters:
aliasForm
- the aliasForm to set
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2013. All Rights Reserved.