| Package | Description |
|---|---|
| org.netbeans.modules.schema2beans | |
| org.netbeans.modules.schema2beansdev |
| Modifier and Type | Class and Description |
|---|---|
class |
Schema2BeansNestedException |
| Modifier and Type | Method and Description |
|---|---|
static BaseBean |
DDFactory.create(InputStream in,
String rootName)
Create the proper DD bean object graph depending on the document
type of the XML document specified as an input stream.
|
static BaseBean |
BaseBean.createGraph(Class clazz,
InputStream in)
Create the schema2beans graph of root bean clazz, from the input stream.
|
static BaseBean |
BaseBean.createGraph(Class clazz,
InputStream in,
boolean validate)
Create the schema2beans graph of root bean clazz, from the input stream
in using the validate option.
|
static BaseBean |
BaseBean.createGraph(Class clazz,
InputStream in,
boolean validate,
EntityResolver er)
Create the schema2beans graph of root bean clazz, from the input stream
in using the validate option and the entity resolver er.
|
static BaseBean |
BaseBean.createGraph(Class clazz,
InputStream in,
boolean validate,
EntityResolver er,
ErrorHandler eh)
Create the schema2beans graph of root bean clazz, from the input stream in
and using the validate, er and sh options.
|
void |
GraphManager.createRootBinding(BaseBean beanRoot,
BeanProp prop,
Node doc)
This method is called by the createRoot() method of the root bean
(part of the BaseBean class).
|
static Document |
GraphManager.createXmlDocument(InputSource in,
boolean validate) |
static Document |
GraphManager.createXmlDocument(InputSource in,
boolean validate,
EntityResolver er,
ErrorHandler eh) |
void |
GraphManager.fillProperties(BeanProp[] prop,
Node node)
This method is called by the generated beans when they are
building themselves from a DOM tree.
|
DOMBinding |
ReflectiveBeanProp.registerDomNode(Node node,
DOMBinding binding,
BaseBean bean) |
DOMBinding |
BeanProp.registerDomNode(Node node,
DOMBinding binding,
BaseBean bean)
This method is called to associate this bean property to a DOM Node.
|
static void |
GraphManager.setFactory(InputStream in,
GraphManager.Factory factory)
Associate a factory to a stream
|
static void |
GraphManager.setFactory(InputStream in,
GraphManager.Factory factory,
GraphManager.Writer writer)
Set an external factory to use instead of the default one
|
void |
BaseBean.write(OutputStream out,
String encoding)
Write the current schema2beans graph as an XML document.
|
void |
BaseBean.write(Writer w)
If you call this method, you're responsible for setting up the
right encoding for the Writer @param w.
|
void |
GraphManager.write(Writer out,
Node node) |
void |
BaseBean.write(Writer w,
String encoding)
If you call this method, you're responsible for setting up the
right encoding for the Writer @param w.
|
void |
BaseBean.writeNoReindent(OutputStream out) |
| Modifier and Type | Class and Description |
|---|---|
class |
SchemaParseException |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XMLSchemaParser.addExtraDataForType(String uniqueName,
String name,
SchemaRep.ElementExpr schemaTypeDef) |
void |
TreeBuilder.addExtraDataNode(String uniqueName,
String typeName,
Object data) |
void |
DocDefHandler.addExtraDataNode(String uniqueName,
String typeName,
Object data) |
void |
TreeBuilder.addExtraDataNode(String uniqueName,
String typeName,
Object[] data) |
protected void |
XMLSchemaParser.addExtraDataNode(String uniqueName,
String name,
SchemaRep.Restriction[] restrict) |
static void |
GenBeans.doIt(GenBeans.Config config) |
void |
XMLSchemaParser.process() |
void |
SchemaParser.process() |
void |
DocDefParser.process()
Start the DTD parsing (called by GenBeans class)
|
protected void |
XMLSchemaParser.process(SchemaRep.ElementExpr ee) |
protected void |
XMLSchemaParser.processAnnotation(SchemaRep.Annotation ann) |
protected void |
XMLSchemaParser.processAny(SchemaRep.Any el) |
protected void |
XMLSchemaParser.processAttribute(String parentElement,
SchemaRep.Attribute attr) |
protected void |
XMLSchemaParser.processAttributeGroup(String parentElement,
SchemaRep.AttributeGroup attrGroup) |
protected void |
XMLSchemaParser.processComplexContent(SchemaRep.ComplexContent el) |
protected void |
XMLSchemaParser.processComplexType(SchemaRep.ComplexType el) |
protected void |
XMLSchemaParser.processContainsSubElements(SchemaRep.ContainsSubElements cse) |
protected void |
XMLSchemaParser.processContainsSubElementsAndAttributes(SchemaRep.ContainsSubElements cse,
String elementName) |
protected void |
XMLSchemaParser.processElement(SchemaRep.Element el) |
protected void |
XMLSchemaParser.processExtension(SchemaRep.Extension el) |
protected void |
XMLSchemaParser.processModelGroup(SchemaRep.ModelGroup group) |
protected void |
XMLSchemaParser.processRestriction(SchemaRep.Restriction el) |
protected void |
XMLSchemaParser.processSchemaNode(SchemaRep.SchemaNode sn) |
protected void |
XMLSchemaParser.processSimpleContent(SchemaRep.SimpleContent el) |
protected void |
XMLSchemaParser.processSimpleType(SchemaRep.SimpleType el) |
protected void |
XMLSchemaParser.processUnionType(SchemaRep.UnionType el) |
void |
TreeBuilder.setExtendedProperty(String uniqueName,
String typeName,
String propertyName,
Object value)
set an extended property on a GraphNode
|
void |
DocDefHandler.setExtendedProperty(String uniqueName,
String typeName,
String propertyName,
Object value)
set a special property to some value.
|
void |
TreeBuilder.setExtension(String uniqueName,
String typeName,
String extendsName) |
void |
DocDefHandler.setExtension(String uniqueName,
String typeName,
String extendsName) |
void |
TreeBuilder.setUnion(String uniqueName,
String typeName,
boolean value) |
void |
DocDefHandler.setUnion(String uniqueName,
String typeName,
boolean value) |
Copyright © 2017. All Rights Reserved.