Skip navigation links


com.essbase.eas.essbase.net.xml
Class SchemaUtil

java.lang.Object
  extended by com.essbase.eas.essbase.net.xml.SchemaUtil


public class SchemaUtil
extends java.lang.Object

Constructor Summary
SchemaUtil()
           

 

Method Summary
static void addAttribute(org.w3c.dom.Element parent, java.lang.String attrTagName, java.lang.String value)
           
static void addTextNode(org.w3c.dom.Element parent, java.lang.String tagName, java.lang.String value)
           
static void exportBoolean(org.w3c.dom.Element parent, java.lang.String nodeName, boolean val)
           
static void exportDouble(org.w3c.dom.Element parent, java.lang.String tagName, double value)
           
static void exportInteger(org.w3c.dom.Element parent, java.lang.String tagName, int value)
           
static void exportLong(org.w3c.dom.Element parent, java.lang.String tagName, long value)
           
static void exportShort(org.w3c.dom.Element parent, java.lang.String tagName, short value)
           
static void exportString(org.w3c.dom.Element parent, java.lang.String tagName, java.lang.String value)
           
static void exportStringWithReplace(org.w3c.dom.Element parent, java.lang.String nodeName, java.lang.String text)
           
static void exportUnsignedInt(org.w3c.dom.Element parent, java.lang.String tagName, int value)
           
static void exportUnsignedShort(org.w3c.dom.Element parent, java.lang.String tagName, short value)
           
static java.lang.String getAttribute(org.w3c.dom.Element parent, java.lang.String attrTagName)
           
static boolean getBooleanValue(java.lang.String s)
           
static java.lang.String getTextNodeValue(org.w3c.dom.Element parent, java.lang.String tagName)
           
static java.lang.String getTextNodeValueFromParentNode(org.w3c.dom.Element parentNode)
           
static java.lang.String getXMLValue(boolean b)
           
static boolean importBoolean(org.w3c.dom.Element parent, java.lang.String tagName)
           
static double importDouble(org.w3c.dom.Element parent, java.lang.String tagName)
           
static int importInteger(org.w3c.dom.Element parent, java.lang.String tagName)
           
static long importLong(org.w3c.dom.Element parent, java.lang.String tagName)
           
static short importShort(org.w3c.dom.Element parent, java.lang.String tagName)
           
static java.lang.String importString(org.w3c.dom.Element parent, java.lang.String tagName)
           
static java.lang.String importStringWithReplace(org.w3c.dom.Element parent, java.lang.String tagName)
           
static int importUnsignedInt(org.w3c.dom.Element parent, java.lang.String tagName)
           
static short importUnsignedShort(org.w3c.dom.Element parent, java.lang.String tagName)
           
static java.lang.String replaceForData(java.lang.String returnValue)
           
static java.lang.String replaceForXML(java.lang.String returnValue)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SchemaUtil

public SchemaUtil()

Method Detail

exportUnsignedShort

public static void exportUnsignedShort(org.w3c.dom.Element parent,
                                       java.lang.String tagName,
                                       short value)
                                throws java.lang.Exception
Throws:
java.lang.Exception

exportShort

public static void exportShort(org.w3c.dom.Element parent,
                               java.lang.String tagName,
                               short value)
                        throws java.lang.Exception
Throws:
java.lang.Exception

exportInteger

public static void exportInteger(org.w3c.dom.Element parent,
                                 java.lang.String tagName,
                                 int value)
                          throws java.lang.Exception
Throws:
java.lang.Exception

exportLong

public static void exportLong(org.w3c.dom.Element parent,
                              java.lang.String tagName,
                              long value)
                       throws java.lang.Exception
Throws:
java.lang.Exception

exportDouble

public static void exportDouble(org.w3c.dom.Element parent,
                                java.lang.String tagName,
                                double value)
                         throws java.lang.Exception
Throws:
java.lang.Exception

exportUnsignedInt

public static void exportUnsignedInt(org.w3c.dom.Element parent,
                                     java.lang.String tagName,
                                     int value)
                              throws java.lang.Exception
Throws:
java.lang.Exception

exportBoolean

public static void exportBoolean(org.w3c.dom.Element parent,
                                 java.lang.String nodeName,
                                 boolean val)
                          throws java.lang.Exception
Throws:
java.lang.Exception

exportString

public static void exportString(org.w3c.dom.Element parent,
                                java.lang.String tagName,
                                java.lang.String value)
                         throws java.lang.Exception
Throws:
java.lang.Exception

importUnsignedShort

public static short importUnsignedShort(org.w3c.dom.Element parent,
                                        java.lang.String tagName)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

importInteger

public static int importInteger(org.w3c.dom.Element parent,
                                java.lang.String tagName)
                         throws java.lang.Exception
Throws:
java.lang.Exception

importShort

public static short importShort(org.w3c.dom.Element parent,
                                java.lang.String tagName)
                         throws java.lang.Exception
Throws:
java.lang.Exception

importLong

public static long importLong(org.w3c.dom.Element parent,
                              java.lang.String tagName)
                       throws java.lang.Exception
Throws:
java.lang.Exception

importDouble

public static double importDouble(org.w3c.dom.Element parent,
                                  java.lang.String tagName)
                           throws java.lang.Exception
Throws:
java.lang.Exception

importUnsignedInt

public static int importUnsignedInt(org.w3c.dom.Element parent,
                                    java.lang.String tagName)
                             throws java.lang.Exception
Throws:
java.lang.Exception

importBoolean

public static boolean importBoolean(org.w3c.dom.Element parent,
                                    java.lang.String tagName)
                             throws java.lang.Exception
Throws:
java.lang.Exception

importString

public static java.lang.String importString(org.w3c.dom.Element parent,
                                            java.lang.String tagName)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

addTextNode

public static void addTextNode(org.w3c.dom.Element parent,
                               java.lang.String tagName,
                               java.lang.String value)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getTextNodeValue

public static java.lang.String getTextNodeValue(org.w3c.dom.Element parent,
                                                java.lang.String tagName)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

addAttribute

public static void addAttribute(org.w3c.dom.Element parent,
                                java.lang.String attrTagName,
                                java.lang.String value)
                         throws java.lang.Exception
Throws:
java.lang.Exception

getAttribute

public static java.lang.String getAttribute(org.w3c.dom.Element parent,
                                            java.lang.String attrTagName)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

exportStringWithReplace

public static void exportStringWithReplace(org.w3c.dom.Element parent,
                                           java.lang.String nodeName,
                                           java.lang.String text)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

importStringWithReplace

public static java.lang.String importStringWithReplace(org.w3c.dom.Element parent,
                                                       java.lang.String tagName)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

replaceForXML

public static java.lang.String replaceForXML(java.lang.String returnValue)

replaceForData

public static java.lang.String replaceForData(java.lang.String returnValue)

getTextNodeValueFromParentNode

public static java.lang.String getTextNodeValueFromParentNode(org.w3c.dom.Element parentNode)
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

getBooleanValue

public static boolean getBooleanValue(java.lang.String s)

getXMLValue

public static java.lang.String getXMLValue(boolean b)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.