Modifier and Type | Method and Description |
---|---|
Schema |
Type.getSchema()
Getter for the schema in which the element/attribute with this type lives.
|
Schema |
SchemaSystem.getSchemaForNamespace(String namespace)
Returns the matching Schema for the given namespace.
|
Schema |
SchemaSystem.newSchema(String namespace)
Create a blank new Schema under this SchemaSystem for a given namespace.
|
Modifier and Type | Method and Description |
---|---|
static Particle |
Particle.Factory.newAttributeInstance(Schema schema,
String name)
Create a blank new Particle representing an xs:attribute.
|
static Content |
Content.Factory.newContent(Schema schema)
Creates a new, empty, Content.
|
static Particle |
Particle.Factory.newElementInstance(Schema schema,
String name)
Create a blank new Particle representing an xs:element.
|
static Particle |
Particle.Factory.newReferenceInstance(Schema schema,
Particle reference)
Create a blank new Particle representing a reference to an element or
attribute within a separate namespace.
|
static Type |
Type.Factory.newType(Schema schema)
Creates a new empty Type object.
|
static Content |
Content.Factory.parse(ContentConfig xml,
Schema schema)
Constructs a Content object using previously saved data.
|
static Particle |
Particle.Factory.parse(ParticleConfig xml,
Schema schema)
Constructs a Particle object using previously saved data.
|
static Type |
Type.Factory.parse(TypeConfig xml,
Schema schema)
Parses the given XmlObject into a Type instance.
|
void |
Type.setSchema(Schema schema)
Setter for the schema in which this type lives.
|
Constructor and Description |
---|
EmptyContent(EmptyContentConfig xml,
Schema schema) |
EmptyContent(Schema schema,
boolean completed) |
SequenceContent(Schema schema,
boolean completed) |
SequenceContent(SequenceContentConfig xml,
Schema schema) |
SimpleContent(Schema schema,
String initialValue) |
SimpleContent(Schema schema,
org.apache.xmlbeans.XmlAnySimpleType initialType) |
SimpleContent(SimpleContentConfig xml,
Schema schema) |
Constructor and Description |
---|
AttributeParticle(AttributeParticleConfig xml,
Schema schema) |
AttributeParticle(Schema schema,
String name) |
ElementParticle(ElementParticleConfig xml,
Schema schema) |
ElementParticle(Schema schema,
String name) |
ReferenceParticle(ReferenceParticleConfig xml,
Schema schema) |
ReferenceParticle(Schema schema,
Particle reference) |
Modifier and Type | Method and Description |
---|---|
Schema |
TypeReferenceType.getSchema() |
Schema |
SimpleType.getSchema() |
Schema |
EmptyType.getSchema() |
Schema |
CustomType.getSchema() |
Schema |
ComplexType.getSchema() |
Modifier and Type | Method and Description |
---|---|
void |
TypeReferenceType.setSchema(Schema schema) |
void |
SimpleType.setSchema(Schema schema) |
void |
EmptyType.setSchema(Schema schema) |
void |
CustomType.setSchema(Schema schema) |
void |
ComplexType.setSchema(Schema schema) |
Constructor and Description |
---|
ComplexType(ComplexTypeConfig xml,
Schema schema) |
ComplexType(Schema schema,
String name,
boolean completed) |
CustomType(CustomTypeConfig xml,
Schema schema) |
EmptyType(EmptyTypeConfig xml,
Schema schema) |
EmptyType(Schema schema) |
SimpleType(Schema schema,
org.apache.xmlbeans.XmlAnySimpleType simpleType,
boolean completed) |
SimpleType(SimpleTypeConfig xml,
Schema schema) |
TypeReferenceType(TypeReferenceConfig xml,
Schema schema)
Constructs a new TypeReferenceType from previously saved data.
|
Copyright © 2019. All Rights Reserved.