fr.tireme.schemadoc.SDSchema.XSD
Class XSDSchemaDirectiveWrapp

java.lang.Object
  extended by fr.tireme.schemadoc.SDSchema.XSD.SDConcreteComponentImpl
      extended by fr.tireme.schemadoc.SDSchema.XSD.XSDSchemaDirectiveWrapp
All Implemented Interfaces:
SDConcreteComponent, SDSchemaDirective
Direct Known Subclasses:
XSDImportWrapp, XSDSchemaCompositorWrapp

public class XSDSchemaDirectiveWrapp
extends SDConcreteComponentImpl
implements SDSchemaDirective

Author:
mniemaz

Constructor Summary
XSDSchemaDirectiveWrapp(org.eclipse.xsd.XSDSchemaDirective xsdschemaDirective_)
          Constructor for the XSDschemaDirectiveWrapp object
 
Method Summary
 SDSchema getResolvedSchema()
          Gets the resolved schema
 java.lang.String getSchemaLocation()
          Gets the schema's location
 java.lang.String getSDDTDLocation()
          Gets the directive dtd location property
 java.lang.String getSDDTDPublicName()
          Gets the directive dtd public name property
 java.util.Hashtable getSDProperties()
          Gets all SchemaDoc properties of the current directive
 boolean hasSDProperties()
          Returns true if has sd propeties
 boolean isParsable()
          Returns if schema can be parsed or not
 void setParsable(boolean toParse_)
          Sets if schema can be parsed or not param boolean - is parsable ?
 
Methods inherited from class fr.tireme.schemadoc.SDSchema.XSD.SDConcreteComponentImpl
cloneObject, getContainerDomElement, getDomElement, getID, getLocalRootID, getWrappedObject, isAny, isAnyAttribute, isContainerNull, setID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.tireme.schemadoc.SDSchema.SDConcreteComponent
cloneObject, getContainerDomElement, getDomElement, getID, getLocalRootID, getWrappedObject, isAny, isAnyAttribute, isContainerNull, setID
 

Constructor Detail

XSDSchemaDirectiveWrapp

public XSDSchemaDirectiveWrapp(org.eclipse.xsd.XSDSchemaDirective xsdschemaDirective_)
Constructor for the XSDschemaDirectiveWrapp object

Parameters:
xsdschemaDirective_ - - the xsd schemaDirective object to wrap
Method Detail

getResolvedSchema

public SDSchema getResolvedSchema()
                           throws Xs2dtdException
Gets the resolved schema

Specified by:
getResolvedSchema in interface SDSchemaDirective
Returns:
SDSchema - schema
Throws:
Xs2dtdException

getSchemaLocation

public java.lang.String getSchemaLocation()
Gets the schema's location

Specified by:
getSchemaLocation in interface SDSchemaDirective
Returns:
SDSchema - schema

setParsable

public void setParsable(boolean toParse_)
Sets if schema can be parsed or not param boolean - is parsable ?

Specified by:
setParsable in interface SDSchemaDirective

isParsable

public boolean isParsable()
Returns if schema can be parsed or not

Specified by:
isParsable in interface SDSchemaDirective
Returns:
boolean -

getSDDTDPublicName

public java.lang.String getSDDTDPublicName()
Gets the directive dtd public name property

Specified by:
getSDDTDPublicName in interface SDSchemaDirective
Returns:
String - public name property

getSDDTDLocation

public java.lang.String getSDDTDLocation()
Gets the directive dtd location property

Specified by:
getSDDTDLocation in interface SDSchemaDirective
Returns:
String - dtd location property

hasSDProperties

public boolean hasSDProperties()
Returns true if has sd propeties

Specified by:
hasSDProperties in interface SDSchemaDirective
Returns:
boolean -

getSDProperties

public java.util.Hashtable getSDProperties()
Gets all SchemaDoc properties of the current directive

Specified by:
getSDProperties in interface SDSchemaDirective
Returns:
Hashtable - sd properties