Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.schema.type
Class SOMUnresolvedType

    java.lang.Object
      com.bea.schema.SOMObject
          com.bea.schema.type.SOMType
              com.bea.schema.type.SOMUnresolvedType

All Implemented Interfaces:
  Serializable

public class SOMUnresolvedType
extends SOMType

Place holder for complex and simpleTypes not yet defined. When building a schema, the type reference for a complexType or a simpleType may not be available at the time the construction of the element or attribute is done. SOMUnresolvedType is a place holder for those cases. Use SOMSchema.resolveTypes() after the type is defined.

Version:
  1.0
Author:
  sharpe
See Also:
  Serialized Form

Field Summary

Fields inherited from class com.bea.schema.type.SOMType
`ANYURI, BASE64BINARY, BINARY, BOOLEAN, BYTE, CDATA, CENTURY, DATE, DATETIME, DECIMAL, DOUBLE, DURATION, ENTITIES, ENTITY, FLOAT, GDAY, GMONTH, GMONTHDAY, GYEAR, GYEARMONTH, HEXBINARY, ID, IDREF, IDREFS, INT, INTEGER, LANGUAGE, LONG, MONTH, NAME, NCNAME, NEGATIVEINTEGER, NMTOKEN, NMTOKENS, NONNEGATIVEINTEGER, NONPOSITIVEINTEGER, NORMALIZEDSTRING, NOTATION, NUMBER, POSITIVEINTEGER, QNAME, RECURRINGDATE, RECURRINGDAY, RECURRINGDURATION, SHORT, STRING, TIME, TIMEDURATION, TIMEINSTANT, TIMEPERIOD, TOKEN, UNSIGNEDBYTE, UNSIGNEDINT, UNSIGNEDLONG, UNSIGNEDSHORT, URIREFERENCE, YEAR`

Constructor Summary
`SOMUnresolvedType(SOMObject parent, String name)` Creating a SOMUnresolvedType registers this instance in the schema's table of unresolved types.

Method Summary
`String` | `getID()` Returns a printable element tag for this Schema Object
`String` | `getName()`
`boolean` | `isElementalType()` Returns true unless overridden by a subclass.
`void` | `toXML(Writer rtn, int indent)` Outputs a formatted XML representation of SOMObject.

Methods inherited from class com.bea.schema.type.SOMType
`getAllowedFacets, getType, isUserDefinedType`

Methods inherited from class com.bea.schema.SOMObject
`addPrefixMapping, getContainmentXPath, getEffectivePrefixMappings, getID_UQ, getParent, getParentName, getParentSchema, getPrefixForTargetNamespace, getPrefixMapping, getTargetNamespace, getURIForPrefix, isCircularReference, isSchemaChild, msg, msg, removeNamespaceQualifier, removePrefixMapping, setIndent, setParent, setTargetNamespace, toString, toXML, toXML, toXML`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### SOMUnresolvedType

    public SOMUnresolvedType(SOMObject parent,
                             String name)

  Creating a SOMUnresolvedType registers this instance in the schema's table of unresolved types. The parent and name must be non-null references.

Parameters:
  `parent` -
  `name` -

Method Detail

### isElementalType

    public boolean isElementalType()

  Description copied from class: `SOMType`
  Returns true unless overridden by a subclass.

  isElementalType is overridden by SOMUserDefinedType

  Overrides:
    `isElementalType` in class `SOMType`
  Returns:
    returns false

### getID

    public String getID()

  Returns a printable element tag for this Schema Object

  Overrides:
    `getID` in class `SOMType`
  Returns:
    String representation of the element tag

### getName

    public String getName()

### toXML

    public void toXML(Writer rtn,
                      int indent)
               throws IOException

  Outputs a formatted XML representation of SOMObject.

  Overrides:
    `toXML` in class `SOMType`
  Parameters:
    `indent` - the indent level for formatting at which to start this schema object.
  Returns:
    formatted XML stream
  Throws:
    `IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD