com.itextpdf.xmp.impl
Class QName

java.lang.Object
  extended by com.itextpdf.xmp.impl.QName

public class QName
extends Object

Since:
09.11.2006

Constructor Summary
QName(String qname)
          Splits a qname into prefix and localname.
QName(String prefix, String localName)
          Constructor that initializes the fields
 
Method Summary
 String getLocalName()
           
 String getPrefix()
           
 boolean hasPrefix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QName

public QName(String qname)
Splits a qname into prefix and localname.

Parameters:
qname - a QName

QName

public QName(String prefix,
             String localName)
Constructor that initializes the fields

Parameters:
prefix - the prefix
localName - the name
Method Detail

hasPrefix

public boolean hasPrefix()
Returns:
Returns whether the QName has a prefix.

getLocalName

public String getLocalName()
Returns:
the localName

getPrefix

public String getPrefix()
Returns:
the prefix


Copyright © 2013. All Rights Reserved.