org.apache.xerces.xs
Interface XSTypeAlternative

All Superinterfaces:
XSObject

public interface XSTypeAlternative
extends XSObject

This interface represents the XML schema type alternative component. Tyepe alternative component was first introduced in the XML schema structures 1.1 specification as a means of implementing conditional type assignment.

Version:
$Id: XSTypeAlternative.java 674639 2008-07-07 21:16:16Z knoaman $
Author:
Hiranya Jayathilaka, University of Moratuwa

Method Summary
 XSObjectList getAnnotations()
          A sequence of [annotations] or an empty XSObjectList.
 java.lang.String getTestStr()
          [test]: a restricted XPath 2.0 expression or null.
 XSTypeDefinition getTypeDefinition()
          [type definition]: a valid type definition component
 
Methods inherited from interface org.apache.xerces.xs.XSObject
getName, getNamespace, getNamespaceItem, getType
 

Method Detail

getAnnotations

public XSObjectList getAnnotations()
A sequence of [annotations] or an empty XSObjectList.


getTestStr

public java.lang.String getTestStr()
[test]: a restricted XPath 2.0 expression or null.


getTypeDefinition

public XSTypeDefinition getTypeDefinition()
[type definition]: a valid type definition component



Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.