com.highdeal.pnr.hci
Class PnRXMLMapping

java.lang.Object
  extended by com.highdeal.pnr.hci.PnRXMLMapping
All Implemented Interfaces:
XMLMapping

public class PnRXMLMapping
extends java.lang.Object
implements XMLMapping

Defines the mapping between XML tags and marshallable classes.


Constructor Summary
PnRXMLMapping()
          Builds an empty mapping
 
Method Summary
 java.lang.Class<?> getClass(java.lang.String nsUri, java.lang.String tag, XMLAttributes atts)
          Returns the Java class for a specified XML tag and its attributes in a namespace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PnRXMLMapping

public PnRXMLMapping()
Builds an empty mapping

Method Detail

getClass

public java.lang.Class<?> getClass(java.lang.String nsUri,
                                   java.lang.String tag,
                                   XMLAttributes atts)
Description copied from interface: XMLMapping
Returns the Java class for a specified XML tag and its attributes in a namespace.

Specified by:
getClass in interface XMLMapping
Parameters:
nsUri - The unique resource identifier of the namespace of the XML tag
tag - The local part of the XML tag
atts - The attributes of the XML tag
Returns:
A Java class with a default constructor

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)