Content.Factory
Constructor and Description |
---|
SequenceContent(Schema schema,
boolean completed) |
SequenceContent(SequenceContentConfig xml,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
SequenceContentConfig |
save()
Save the Content to an XmlObject.
|
String |
toString(String attrs) |
Content |
validate(Context context)
Validates an XML document contained in a given Context object.
|
public SequenceContent(Schema schema, boolean completed)
public SequenceContent(SequenceContentConfig xml, Schema schema)
public SequenceContentConfig save()
Content
public Content validate(Context context) throws org.apache.xmlbeans.XmlException
Content
validate
in interface Content
context
- A Context object containing the XML data to be validated, and
other needed contextual variables.org.apache.xmlbeans.XmlException
Copyright © 2019. All Rights Reserved.