|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.mathling.scd.XSSerializer
public class XSSerializer
Simple serializer for schema components. Generates simple metadata to standard out.
Copyright (c) 2007-2009 Mary Holstege.
| Constructor Summary | |
|---|---|
XSSerializer(java.util.Map<java.lang.String,java.lang.String> _namespaces)
Constructor. |
|
| Method Summary | |
|---|---|
void |
serialize(FundamentalFacet facet)
Serialize a fundamental facet. |
void |
serialize(java.lang.Object object)
|
void |
serialize(org.apache.xerces.xs.XSAnnotation ann)
Serialize an annotation component. |
void |
serialize(org.apache.xerces.xs.XSAttributeDeclaration attr)
Serialize a attribute declaration component. |
void |
serialize(org.apache.xerces.xs.XSAttributeGroupDefinition attrGroup)
Serialize an attribute group definition component. |
void |
serialize(org.apache.xerces.xs.XSAttributeUse attr)
Serialize an attribute use component. |
void |
serialize(org.apache.xerces.xs.XSElementDeclaration elt)
Serialize an element declaration component. |
void |
serialize(org.apache.xerces.xs.XSFacet facet)
Serialize a constraining facet component. |
void |
serialize(org.apache.xerces.xs.XSIDCDefinition idc)
Serialize an identity constraint definition component. |
void |
serialize(org.apache.xerces.xs.XSModel model)
Serialize a grammar component. |
void |
serialize(org.apache.xerces.xs.XSModelGroup modelGroup)
Serialize a modelGroup component. |
void |
serialize(org.apache.xerces.xs.XSModelGroupDefinition modelGroup)
Serialize a model group definition component. |
void |
serialize(org.apache.xerces.xs.XSMultiValueFacet facet)
Serialize a constraining multivalued facet component (enumeration/pattern). |
void |
serialize(org.apache.xerces.xs.XSNotationDeclaration notation)
Serialize a notation declaration component. |
void |
serialize(org.apache.xerces.xs.XSParticle particle)
Serialize a particle component. |
void |
serialize(org.apache.xerces.xs.XSTerm term)
Serialize a term component. |
void |
serialize(org.apache.xerces.xs.XSTypeDefinition aType)
Serialize a type definition component. |
void |
serialize(org.apache.xerces.xs.XSWildcard wc,
boolean isAttr)
Serialize an wildcard component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XSSerializer(java.util.Map<java.lang.String,java.lang.String> _namespaces)
_namespaces - A map of namespace URIs to prefixes.| Method Detail |
|---|
public void serialize(java.lang.Object object)
public void serialize(org.apache.xerces.xs.XSModel model)
model - The grammar component.public void serialize(org.apache.xerces.xs.XSAttributeDeclaration attr)
attr - The attribute declaration component.public void serialize(org.apache.xerces.xs.XSElementDeclaration elt)
elt - The element declaration component.public void serialize(org.apache.xerces.xs.XSModelGroupDefinition modelGroup)
modelGroup - The model group definition component.public void serialize(org.apache.xerces.xs.XSAttributeGroupDefinition attrGroup)
attrGroup - The attribute group definition component.public void serialize(org.apache.xerces.xs.XSIDCDefinition idc)
idc - The identity constraint definition component.public void serialize(org.apache.xerces.xs.XSNotationDeclaration notation)
notation - The notation declaration component.public void serialize(org.apache.xerces.xs.XSTypeDefinition aType)
aType - The type definition component.public void serialize(org.apache.xerces.xs.XSAnnotation ann)
ann - The annotation component.public void serialize(org.apache.xerces.xs.XSAttributeUse attr)
attr - The attribute use component.
public void serialize(org.apache.xerces.xs.XSWildcard wc,
boolean isAttr)
wc - The wildcard component.isAttr - Whether this is an attribute wildcard.public void serialize(FundamentalFacet facet)
facet - The facet name.public void serialize(org.apache.xerces.xs.XSFacet facet)
facet - The facet component.public void serialize(org.apache.xerces.xs.XSMultiValueFacet facet)
facet - The facet component.public void serialize(org.apache.xerces.xs.XSParticle particle)
particle - The particle component.public void serialize(org.apache.xerces.xs.XSTerm term)
term - The term component.public void serialize(org.apache.xerces.xs.XSModelGroup modelGroup)
modelGroup - The modelGroup component.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||