Content.Factory
Constructor and Description |
---|
SimpleContent(Schema schema,
String initialValue) |
SimpleContent(Schema schema,
org.apache.xmlbeans.XmlAnySimpleType initialType) |
SimpleContent(SimpleContentConfig xml,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
SimpleContentConfig |
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 SimpleContent(Schema schema, org.apache.xmlbeans.XmlAnySimpleType initialType)
public SimpleContent(SimpleContentConfig xml, Schema schema)
public SimpleContentConfig 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.