|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.xml.parser.schema.XSDSimpleType
Constructor Summary | |
XSDSimpleType() Default constructor |
|
XSDSimpleType(int basic, java.lang.String tnm) |
Method Summary | |
static XSDSimpleType |
derivedFrom(XSDSimpleType source, java.lang.String nm, java.lang.String var) Derive a type from the given base type |
XSDSimpleType |
getBase() |
int |
getBasicType() Gets the basic type from which this type was derived. |
static java.util.Hashtable |
getBuiltInDatatypes() Gets a built-in datatype |
XSDConstrainingFacet[] |
getFacets() Get the facets |
XSDSimpleType |
getItemType() Get the memberTypes |
int |
getMaxOccurs() Get the value of maxOccurs |
java.util.Vector |
getMemberTypes() Get the memberTypes |
int |
getMinOccurs() Get the value of minOccurs |
java.lang.String |
getTargetNS() Get target namespace |
java.lang.String |
getVariety() Get the variety of the type |
boolean |
isAbstract() |
void |
setFacet(java.lang.String facetName, java.lang.String value) Sets a facet for the datatype (Internal private API) |
void |
setMaxOccurs(int max) Set the value of maxOccurs |
void |
setMinOccurs(int min) Set the value of minOccurs |
void |
setSource(XSDNode src) Sets the base type of the datatype, or in case of aggregate types sets the type of the component of the aggregate type |
void |
validateValue(java.lang.String val) Validates the string value with the facets defined for this type |
Constructor Detail |
public XSDSimpleType()
public XSDSimpleType(int basic, java.lang.String tnm)
Method Detail |
public java.lang.String getTargetNS()
public static XSDSimpleType derivedFrom(XSDSimpleType source, java.lang.String nm, java.lang.String var) throws XSDException
source
- XSDSimpleType The base typenm
- String The name of the new typevar
- String The method of derivationpublic int getBasicType()
public boolean isAbstract()
public XSDSimpleType getBase()
public XSDConstrainingFacet[] getFacets()
public java.lang.String getVariety()
public java.util.Vector getMemberTypes()
public XSDSimpleType getItemType()
public static java.util.Hashtable getBuiltInDatatypes() throws XSDException
type
- Name of the built-in typepublic int getMinOccurs()
public int getMaxOccurs()
public void setMinOccurs(int min)
minOccurs
-public void setMaxOccurs(int max)
maxOccurs
-public void setSource(XSDNode src) throws XSDException
src
- XSDNode sourcepublic void validateValue(java.lang.String val) throws java.lang.Exception
val
- value to be validatedpublic void setFacet(java.lang.String facetName, java.lang.String value) throws XSDException
facetName
- Name of the facet being setvalue
- Value of the facet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.