org.apache.ws.commons.schema
Class XmlSchemaAnnotated

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaObject
      extended by org.apache.ws.commons.schema.XmlSchemaAnnotated
All Implemented Interfaces:
XmlSchemaObjectBase
Direct Known Subclasses:
XmlSchema, XmlSchemaAnyAttribute, XmlSchemaAttributeGroup, XmlSchemaAttributeOrGroupRef, XmlSchemaContent, XmlSchemaContentModel, XmlSchemaExternal, XmlSchemaFacet, XmlSchemaGroup, XmlSchemaIdentityConstraint, XmlSchemaNotation, XmlSchemaParticle, XmlSchemaSimpleTypeContent, XmlSchemaType, XmlSchemaXPath

public abstract class XmlSchemaAnnotated
extends XmlSchemaObject

The base class for any element that can contain an annotation element. This class also provides storage for an id and a set of non-XML-schema XML attributes.


Constructor Summary
XmlSchemaAnnotated()
           
 
Method Summary
 XmlSchemaAnnotation getAnnotation()
           
 String getId()
           
 Attr[] getUnhandledAttributes()
           
 void setAnnotation(XmlSchemaAnnotation annotation)
           
 void setId(String id)
           
 void setUnhandledAttributes(Attr[] unhandledAttributes)
           
 String toString()
           
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, hashCode, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlSchemaAnnotated

public XmlSchemaAnnotated()
Method Detail

getId

public String getId()

setId

public void setId(String id)

getAnnotation

public XmlSchemaAnnotation getAnnotation()

setAnnotation

public void setAnnotation(XmlSchemaAnnotation annotation)

getUnhandledAttributes

public Attr[] getUnhandledAttributes()

setUnhandledAttributes

public void setUnhandledAttributes(Attr[] unhandledAttributes)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.