public interface BOXSDHelper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
hasAnyAttribute(commonj.sdo.Type type)
Returns
true if the Type contains an anyAttribute tag,
or returns false if the Type does not. |
boolean |
isAttribute(commonj.sdo.Property property)
Returns
true if the Property is derived from an attribute,
or returns false otherwise |
boolean |
isElement(commonj.sdo.Property property)
Returns
true if the Property is derived from an element,
or returns false otherwise |
boolean |
isMixed(commonj.sdo.Type type)
Returns true if the Type is declared to contain mixed content.
|
static final java.lang.String COPYRIGHT
boolean isMixed(commonj.sdo.Type type)
type
- to identify if mixed content.commonj.sdo.Property getGlobalProperty(java.lang.String uri, java.lang.String propertyName, boolean isElement)
uri
- The uri of the targetNamespace.propertyName
- The name of the global property.isElement
- is true for global elements, false for global attributes.boolean hasAnyAttribute(commonj.sdo.Type type)
true
if the Type contains an anyAttribute tag,
or returns false
if the Type does not.type
- to identify if the anyAttribute tag is present.boolean isElement(commonj.sdo.Property property)
true
if the Property is derived from an element,
or returns false
otherwiseproperty
- to identify if the Property is derived from an elementboolean isAttribute(commonj.sdo.Property property)
true
if the Property is derived from an attribute,
or returns false
otherwiseproperty
- to identify if the Property is derived from an attribute