asit.framework.xml
Class ElementNameTranslationTable

java.lang.Object
  extended byasit.framework.xml.ElementNameTranslationTable

public class ElementNameTranslationTable
extends Object

Author:
troessler

Field Summary
static String SIGNATURE_ELEMENT_NAME
           
 
Constructor Summary
ElementNameTranslationTable(Document xmldocument)
           
ElementNameTranslationTable(Node rootnode)
           
 
Method Summary
 String getElementsNSPrefix(String elementsimplename)
          Returns the NS-prefix of an element by the use of the Hashtable full of element names - first occurence
 String getElementsNSPrefix(String elementsimplename, int index)
          Returns the NS-prefix of an element by the use of the Hashtable full of element names
 String getElementsQualifiedName(String elementsimplename)
          Returns the full qualified name of an element by the use of the Hashtable full of element names - first occurence
 String getElementsQualifiedName(String elementsimplename, int index)
          Returns the full qualified name of an element by the use of the Hashtable full of element names
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIGNATURE_ELEMENT_NAME

public static final String SIGNATURE_ELEMENT_NAME
See Also:
Constant Field Values
Constructor Detail

ElementNameTranslationTable

public ElementNameTranslationTable(Document xmldocument)
Parameters:
xmldocument -

ElementNameTranslationTable

public ElementNameTranslationTable(Node rootnode)
Method Detail

getElementsQualifiedName

public String getElementsQualifiedName(String elementsimplename,
                                       int index)
Returns the full qualified name of an element by the use of the Hashtable full of element names

Parameters:
elementsimplename -
index - position in document
Returns:
Qname of the requested element if exists (at the requested position), null in any other case

getElementsQualifiedName

public String getElementsQualifiedName(String elementsimplename)
Returns the full qualified name of an element by the use of the Hashtable full of element names - first occurence

Parameters:
elementsimplename -
Returns:

getElementsNSPrefix

public String getElementsNSPrefix(String elementsimplename,
                                  int index)
Returns the NS-prefix of an element by the use of the Hashtable full of element names

Parameters:
elementsimplename -
Returns:

getElementsNSPrefix

public String getElementsNSPrefix(String elementsimplename)
Returns the NS-prefix of an element by the use of the Hashtable full of element names - first occurence

Parameters:
elementsimplename -
Returns:


Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.