IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.bo
Interface BOXSDHelper


public interface BOXSDHelper

Provides access to additional information when the Type or Property is defined by an XML Schema (XSD). Methods return null/false otherwise or if the information is unavailable. Defines Types from an XSD.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 Property getGlobalProperty(java.lang.String uri, java.lang.String propertyName, boolean isElement)
          Returns the Property defined by the named global element or attribute in the targetNamespace uri, or null if not found.
 boolean hasAnyAttribute(Type type)
          Returns true if the Type contains an anyAttribute tag, or returns false if the Type does not.
 boolean isAttribute(Property property)
          Returns true if the Property is derived from an attribute, or returns false otherwise
 boolean isElement(Property property)
          Returns true if the Property is derived from an element, or returns false otherwise
 boolean isMixed(Type type)
          Returns true if the Type is declared to contain mixed content.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

isMixed

boolean isMixed(Type type)
Returns true if the Type is declared to contain mixed content. A DataObject's mixed content values are typically accessed via a Sequence.

Parameters:
type - to identify if mixed content.
Returns:
true if the Type is declared to contain mixed content.

getGlobalProperty

Property getGlobalProperty(java.lang.String uri,
                           java.lang.String propertyName,
                           boolean isElement)
Returns the Property defined by the named global element or attribute in the targetNamespace uri, or null if not found.

Parameters:
uri - The uri of the targetNamespace.
propertyName - The name of the global property.
isElement - is true for global elements, false for global attributes.
Returns:
the Property defined by the named global element or attribute in the targetNamespace uri, or null if not found.

hasAnyAttribute

boolean hasAnyAttribute(Type type)
Returns true if the Type contains an anyAttribute tag, or returns false if the Type does not.

Parameters:
type - to identify if the anyAttribute tag is present.
Returns:
true if the Type contains an anyAttribute tag

isElement

boolean isElement(Property property)
Returns true if the Property is derived from an element, or returns false otherwise

Parameters:
property - to identify if the Property is derived from an element
Returns:
true if the Property is derived from an element

isAttribute

boolean isAttribute(Property property)
Returns true if the Property is derived from an attribute, or returns false otherwise

Parameters:
property - to identify if the Property is derived from an attribute
Returns:
true if the Property is derived from an attribute

IBM WebSphere Application ServerTM
Release 7