| Package | Description |
|---|---|
| org.netbeans.modules.schema2beans |
| Modifier and Type | Method and Description |
|---|---|
BaseBean[] |
BaseBean.childBeans(boolean recursive) |
BaseBean |
BeanComparator.compareBean(String beanName,
BaseBean curBean,
BaseBean newBean)
Default comparison implementation for comparing two beans.
|
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.
|
BaseBean |
BeanProp.getBean() |
BaseBean |
GraphManager.getBeanRoot()
Return the root of the bean graph
|
BaseBean |
BeanProp.getParent() |
BaseBean |
BaseProperty.getParent()
Return the BaseBean for this property if there is one
|
BaseBean |
GraphManager.getPropertyParent(String name)
Return the bean holding the property 'name' as a BaseBean object
|
BaseBean |
DDRegistryParser.DDCursor.getRoot() |
BaseBean |
DDParser.DDLocation.getRoot() |
BaseBean |
DDRegistry.getRoot(String s)
Return the bean root for this name (either unique name or scope)
|
BaseBean[] |
DDRegistry.getRoots(String s)
Return all the bean roots for this name (either unique name or scope)
|
BaseBean |
BaseBean.newInstance(String name)
Return a new instance of the specified bean property
|
BaseBean |
BaseBean.parent()
Return the BaseBean parent of the current bean.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DDRegistry.DDChangeMarker.add(BaseBean b)
Add a graph to the marker list.
|
void |
DDRegistry.addType(BaseBean bean,
String type)
Add a type to the entry (the type doesn't have to be unique)
|
void |
DDRegistry.clearCache(BaseBean bean)
Reset the change timestamp of the specified graph.
|
BaseBean |
BeanComparator.compareBean(String beanName,
BaseBean curBean,
BaseBean newBean)
Default comparison implementation for comparing two beans.
|
Object |
BeanComparator.compareProperty(String propertyName,
BaseBean curBean,
Object curValue,
int curIndex,
BaseBean newBean,
Object newValue,
int newIndex)
Default comparison implementation for comparing two property values.
|
void |
GraphManager.completeRootBinding(BaseBean beanRoot,
Node doc) |
protected void |
BaseBean.copyProperty(BeanProp prop,
BaseBean bean,
int index,
Object value) |
void |
DDRegistry.createEntry(BaseBean bean,
String ID,
String name)
Create a new entry in the DD graph registry.
|
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).
|
String |
DDRegistry.getID(BaseBean bean)
Having a schema2beans graph, this method return its unique ID.
|
long |
DDRegistry.getTimestamp(BaseBean bean) |
boolean |
DDRegistry.hasType(BaseBean bean,
String type)
Return true of the specified schema2beans graph is registered with the
specified type.
|
void |
BaseBean.merge(BaseBean bean)
Merge the bean tree with the current graph using the default
merging option.
|
void |
BaseBean.merge(BaseBean bean,
int mode)
Merge the specified bean schema2beans graph into the current graph using
the specified mode.
|
static void |
Schema2BeansUtil.mergeUnsupportedElements(BaseBean bean,
BaseBean patternBean)
Merge "unsupported" elements - elements which are not represented
in model (whitespaces, comments, unknown atributes and tags),
but they should be merged to DOMBinding
|
void |
BaseBean.mergeUpdate(BaseBean sourceBean)
Same as merge(BaseBean bean).
|
DDRegistryParser.DDCursor |
DDRegistry.newCursor(BaseBean bean)
Create a cursor location
|
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.
|
void |
DDRegistry.DDChangeMarker.remove(BaseBean b) |
void |
DDRegistry.removeEntry(BaseBean bean)
Remove an entry in the registry.
|
void |
DDRegistry.setTimestamp(BaseBean bean) |
void |
DDRegistry.updateEntry(String ID,
BaseBean bean)
Change the schema2beans graph for the unique entry ID.
|
static void |
Schema2BeansUtil.write(BaseBean bean,
OutputStream outputStream)
Write the current schema2beans graph as an XML document without reformating
|
static void |
Schema2BeansUtil.write(BaseBean bean,
Writer writer)
Write the current schema2beans graph as an XML document without reformating
|
| Constructor and Description |
|---|
BeanProp(BaseBean bean,
String dtdName,
String beanName,
int type,
Class propClass) |
BeanProp(BaseBean bean,
String dtdName,
String beanName,
int type,
Class propClass,
boolean isRoot) |
BeanProp(BaseBean bean,
String dtdName,
String beanName,
int type,
Class propClass,
boolean isRoot,
int initialCapacity) |
BeanProp(BaseBean bean,
String dtdName,
String beanName,
int type,
Class propClass,
int initialCapacity) |
DDCursor(DDRegistry reg,
BaseBean root) |
DDCursor(DDRegistryParser.DDCursor parent,
BaseBean root) |
DDLocation(BaseBean r) |
DDLocation(BaseBean r,
String n,
int i,
int type) |
DDParser(BaseBean root,
String parse)
Build the PropParser from the parsing String.
|
GraphManager(BaseBean root) |
ReflectiveBeanProp(BaseBean bean,
String dtdName,
String beanName,
int type,
Class propClass,
boolean isRoot,
Method writer,
Method arrayWriter,
Method reader,
Method arrayReader,
Method adder,
Method remover) |
ReflectiveBeanProp(BaseBean bean,
String dtdName,
String beanName,
int type,
Class propClass,
Method writer,
Method arrayWriter,
Method reader,
Method arrayReader,
Method adder,
Method remover) |
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.