com.ebmwebsourcing.easyschema10.api
Class SchemaHelper

java.lang.Object
  extended by com.ebmwebsourcing.easyschema10.api.SchemaHelper

public final class SchemaHelper
extends java.lang.Object


Method Summary
static Element findElementByQName(com.ebmwebsourcing.easybox.api.XmlObject contextXmlObject, javax.xml.namespace.QName elementQName)
           
static Element[] findElements(com.ebmwebsourcing.easybox.api.XmlObject contextXmlObject)
           
static Schema findParentSchema(com.ebmwebsourcing.easybox.api.XmlObject contextObject)
          Get parent Schema.
static Type findTypeByQName(com.ebmwebsourcing.easybox.api.XmlObject contextXmlObject, javax.xml.namespace.QName typeQName)
           
static Type[] findTypes(com.ebmwebsourcing.easybox.api.XmlObject contextXmlObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findParentSchema

public static Schema findParentSchema(com.ebmwebsourcing.easybox.api.XmlObject contextObject)
Get parent Schema.

Returns:
Closest Schema object in ancestors hierarychy, or null if no such ancestor.

findTypes

public static Type[] findTypes(com.ebmwebsourcing.easybox.api.XmlObject contextXmlObject)

findTypeByQName

public static Type findTypeByQName(com.ebmwebsourcing.easybox.api.XmlObject contextXmlObject,
                                   javax.xml.namespace.QName typeQName)

findElements

public static Element[] findElements(com.ebmwebsourcing.easybox.api.XmlObject contextXmlObject)

findElementByQName

public static Element findElementByQName(com.ebmwebsourcing.easybox.api.XmlObject contextXmlObject,
                                         javax.xml.namespace.QName elementQName)


Copyright © 2011 Petals Link. All Rights Reserved.