org.apache.wsif.schema
Class Restriction

java.lang.Object
  |
  +--org.apache.wsif.schema.Restriction

public class Restriction
extends java.lang.Object

A class to represent a <restriction> element in a schema

Author:
Owen Burroughs

Method Summary
 Attribute[] getAttributes()
          Get all the <attribute> elements within this restriction
 javax.xml.namespace.QName getBase()
          Get the "base" attribute for this restriction
 SequenceElement[] getSequenceElements()
          Get all the <element> elements within a sequence within this restriction
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBase

public javax.xml.namespace.QName getBase()
Get the "base" attribute for this restriction
Returns:
The "base" attribute

getAttributes

public Attribute[] getAttributes()
Get all the <attribute> elements within this restriction
Returns:
The <attribute> elements

getSequenceElements

public SequenceElement[] getSequenceElements()
Get all the <element> elements within a sequence within this restriction
Returns:
The <element> elements within the sequnce


Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.