de.ispsoft.jaxme.generator.parserdata
Class ParserData

java.lang.Object
  extended byde.ispsoft.jaxme.generator.parserdata.ParserData
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
JdbcParserData

public class ParserData
extends java.lang.Object
implements java.lang.Cloneable

Holds an XsdSchemaReader's current default settings.


Field Summary
 boolean accessors
           
 boolean attributeFormDefault
           
 java.util.List context
           
 boolean elementFormDefault
           
 java.lang.String extendsClassName
           
 java.lang.String packageName
           
 java.lang.String[] prefixes
           
 java.lang.String systemId
           
 java.lang.String targetNamespace
           
 java.util.List types
           
 
Constructor Summary
ParserData(ParserData pParserData)
           
ParserData(java.lang.String pTargetNamespace)
           
 
Method Summary
 void addOption(SchemaOption pOption)
          Adds a new option value.
 void clearOptions()
          Clears the option list.
 java.lang.Object clone()
           
 SchemaComplexType findComplexType(org.w3c.dom.Element pElement, java.lang.String pName, int pType)
           
 SchemaSimpleType findSimpleType(org.w3c.dom.Element pElement, java.lang.String pName)
           
 SchemaType findType(java.lang.String pNamespaceURI, java.lang.String pLocalName)
           
protected static SchemaType[] getDefaultTypes()
          Returns an array of all builtin types.
 SchemaOption[] getOptions()
          Returns the array of options.
 void registerComplexType(org.w3c.dom.Element pElement, java.lang.String name)
           
 void registerSimpleType(org.w3c.dom.Element pElement, java.lang.String pName, SchemaSimpleType pSt)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

targetNamespace

public java.lang.String targetNamespace

packageName

public java.lang.String packageName

extendsClassName

public java.lang.String extendsClassName

types

public java.util.List types

systemId

public java.lang.String systemId

context

public java.util.List context

elementFormDefault

public boolean elementFormDefault

attributeFormDefault

public boolean attributeFormDefault

accessors

public boolean accessors

prefixes

public java.lang.String[] prefixes
Constructor Detail

ParserData

public ParserData(java.lang.String pTargetNamespace)

ParserData

public ParserData(ParserData pParserData)
Method Detail

toString

public java.lang.String toString()

clone

public java.lang.Object clone()

registerComplexType

public void registerComplexType(org.w3c.dom.Element pElement,
                                java.lang.String name)

registerSimpleType

public void registerSimpleType(org.w3c.dom.Element pElement,
                               java.lang.String pName,
                               SchemaSimpleType pSt)

findType

public SchemaType findType(java.lang.String pNamespaceURI,
                           java.lang.String pLocalName)

findSimpleType

public SchemaSimpleType findSimpleType(org.w3c.dom.Element pElement,
                                       java.lang.String pName)

findComplexType

public SchemaComplexType findComplexType(org.w3c.dom.Element pElement,
                                         java.lang.String pName,
                                         int pType)

getDefaultTypes

protected static SchemaType[] getDefaultTypes()

Returns an array of all builtin types.


addOption

public void addOption(SchemaOption pOption)

Adds a new option value.


clearOptions

public void clearOptions()

Clears the option list.


getOptions

public SchemaOption[] getOptions()

Returns the array of options.