org.tagnetic.core.framework
Class ElementNameWithNsPrefix

java.lang.Object
  extended byorg.tagnetic.core.framework.ElementNameWithNsPrefix

public class ElementNameWithNsPrefix
extends java.lang.Object


Constructor Summary
ElementNameWithNsPrefix(java.lang.String elementWithNsPrefix)
           
ElementNameWithNsPrefix(java.lang.String nsPrefix, java.lang.String elementName)
           
 
Method Summary
static java.lang.String buildElementWithNsPrefix(java.lang.String nsPrefix, java.lang.String elementName)
           
 java.lang.String getElementName()
           
 java.lang.String getNsPrefix()
           
static java.lang.String getValidNsPrefix(java.lang.String nsPrefix)
           
 boolean hasDefaultPrefix()
           
 void setNsPrefix(java.lang.String nsPrefix)
           
 java.lang.String toString()
           
 java.lang.String toStringWithNoDefaultPrefix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementNameWithNsPrefix

public ElementNameWithNsPrefix(java.lang.String elementWithNsPrefix)
                        throws TagneticBadDataException

ElementNameWithNsPrefix

public ElementNameWithNsPrefix(java.lang.String nsPrefix,
                               java.lang.String elementName)
                        throws TagneticBadDataException
Method Detail

getElementName

public java.lang.String getElementName()

getNsPrefix

public java.lang.String getNsPrefix()

setNsPrefix

public void setNsPrefix(java.lang.String nsPrefix)

toString

public java.lang.String toString()

toStringWithNoDefaultPrefix

public java.lang.String toStringWithNoDefaultPrefix()

buildElementWithNsPrefix

public static java.lang.String buildElementWithNsPrefix(java.lang.String nsPrefix,
                                                        java.lang.String elementName)
                                                 throws TagneticBadDataException
Throws:
TagneticBadDataException

getValidNsPrefix

public static java.lang.String getValidNsPrefix(java.lang.String nsPrefix)

hasDefaultPrefix

public boolean hasDefaultPrefix()


Copyright © 2005 tagnetic.org. All Rights Reserved.