Content.Factory
Constructor and Description |
---|
EmptyContent(EmptyContentConfig xml,
Schema schema) |
EmptyContent(Schema schema,
boolean completed) |
Modifier and Type | Method and Description |
---|---|
EmptyContentConfig |
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 EmptyContent(Schema schema, boolean completed)
public EmptyContent(EmptyContentConfig xml, Schema schema)
public EmptyContentConfig 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.