com.ibm.websphere.bo

Interface BOXSDHelper


  1. 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

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. commonj.sdo.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.
  1. boolean
hasAnyAttribute(commonj.sdo.Type type)
Returns true if the Type contains an anyAttribute tag, or returns false if the Type does not.
  1. boolean
isAttribute(commonj.sdo.Property property)
Returns true if the Property is derived from an attribute, or returns false otherwise
  1. boolean
isElement(commonj.sdo.Property property)
Returns true if the Property is derived from an element, or returns false otherwise
  1. boolean
isMixed(commonj.sdo.Type type)
Returns true if the Type is declared to contain mixed content.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

Method Detail

isMixed

  1. boolean isMixed(commonj.sdo.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

  1. commonj.sdo.Property getGlobalProperty( java.lang.String uri,
  2. java.lang.String propertyName,
  3. 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

  1. boolean hasAnyAttribute(commonj.sdo.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

  1. boolean isElement(commonj.sdo.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

  1. boolean isAttribute(commonj.sdo.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