fr.tireme.schemadoc.SDSchema.XSD
Class SDConcreteComponentImpl

java.lang.Object
  extended by fr.tireme.schemadoc.SDSchema.XSD.SDConcreteComponentImpl
All Implemented Interfaces:
SDConcreteComponent
Direct Known Subclasses:
SDSchemaContentImpl, XSDAnnotationWrapp, XSDAttributeUseWrapp, XSDModelGroupWrapp, XSDParticleWrapp, XSDSchemaDirectiveWrapp, XSDSchemaWrapp, XSDWildCardWrapp

public class SDConcreteComponentImpl
extends java.lang.Object
implements SDConcreteComponent

Author:
Mike Niemaz (niemaz@xrce.xerox.com)

Constructor Summary
SDConcreteComponentImpl(org.eclipse.xsd.XSDConcreteComponent xsdConcreteComponent_)
          Constructor for the XSDConcreteComponent object
 
Method Summary
 SDConcreteComponent cloneObject()
          Deep copy of the simple type
 org.w3c.dom.Element getContainerDomElement()
          Returns the DOM representation of this XSD element's container, if any
 org.w3c.dom.Element getDomElement()
          Gets the DOM representation of this XSD element
 java.lang.String getID()
          Gets the ID of the component
 java.lang.String getLocalRootID()
          Gets the component's handler ID
 java.lang.Object getWrappedObject()
          Gets the wrapped object
 boolean isAny()
          Returns true if element is xs:any
 boolean isAnyAttribute()
           
 boolean isContainerNull()
          Is the container null
 void setID(java.lang.String id_)
          Set the id of the component
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDConcreteComponentImpl

public SDConcreteComponentImpl(org.eclipse.xsd.XSDConcreteComponent xsdConcreteComponent_)
Constructor for the XSDConcreteComponent object

Parameters:
xsdConcreteComponent_ - -
Method Detail

cloneObject

public SDConcreteComponent cloneObject()
Deep copy of the simple type

Specified by:
cloneObject in interface SDConcreteComponent
Returns:
SDSimpleType - cloned simple type

getWrappedObject

public java.lang.Object getWrappedObject()
Gets the wrapped object

Specified by:
getWrappedObject in interface SDConcreteComponent
Returns:
Object - wrapped object

getDomElement

public org.w3c.dom.Element getDomElement()
Gets the DOM representation of this XSD element

Specified by:
getDomElement in interface SDConcreteComponent
Returns:
Element - DOM element

getContainerDomElement

public org.w3c.dom.Element getContainerDomElement()
Returns the DOM representation of this XSD element's container, if any

Specified by:
getContainerDomElement in interface SDConcreteComponent
Returns:
Element - DOM element or null

isContainerNull

public boolean isContainerNull()
Is the container null

Specified by:
isContainerNull in interface SDConcreteComponent
Returns:
boolean - true if null, false otherwise

isAny

public boolean isAny()
Returns true if element is xs:any

Specified by:
isAny in interface SDConcreteComponent
Returns:
boolean

isAnyAttribute

public boolean isAnyAttribute()
Specified by:
isAnyAttribute in interface SDConcreteComponent
Returns:
boolean

getID

public java.lang.String getID()
Gets the ID of the component

Specified by:
getID in interface SDConcreteComponent
Returns:
String - ID or null

setID

public void setID(java.lang.String id_)
Set the id of the component

Specified by:
setID in interface SDConcreteComponent
Parameters:
id_ -

getLocalRootID

public java.lang.String getLocalRootID()
Gets the component's handler ID

Specified by:
getLocalRootID in interface SDConcreteComponent
Returns:
String - ID