com.itextpdf.xmp.impl.xpath
Class XMPPathSegment

java.lang.Object
  extended by com.itextpdf.xmp.impl.xpath.XMPPathSegment

public class XMPPathSegment
extends Object

A segment of a parsed XMPPath.

Since:
23.06.2006

Constructor Summary
XMPPathSegment(String name)
          Constructor with initial values.
XMPPathSegment(String name, int kind)
          Constructor with initial values.
 
Method Summary
 int getAliasForm()
           
 int getKind()
           
 String getName()
           
 boolean isAlias()
           
 void setAlias(boolean alias)
           
 void setAliasForm(int aliasForm)
           
 void setKind(int kind)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 segment
kind - the kind of the segment
Method Detail

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.