| Package | Description |
|---|---|
| com.caucho.config.attribute | |
| com.caucho.config.program | |
| com.caucho.config.type | |
| com.caucho.config.xml | |
| com.caucho.relaxng.pattern | |
| com.caucho.relaxng.program | |
| com.caucho.xml |
XML parsing and printing package.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
SetValueAttribute.create(java.lang.Object parent,
QName name)
Creates the child bean.
|
java.lang.Object |
SetterAttribute.create(java.lang.Object parent,
QName name)
Creates the child bean.
|
java.lang.Object |
AnnotationAttribute.create(java.lang.Object parent,
QName name)
Creates the child bean.
|
java.lang.Object |
EntryAttribute.create(java.lang.Object parent,
QName name)
Creates the child bean.
|
java.lang.Object |
ListValueAttribute.create(java.lang.Object parent,
QName name)
Creates the child bean.
|
java.lang.Object |
CreateAttribute.create(java.lang.Object parent,
QName name)
Creates the child bean.
|
java.lang.Object |
TextAttribute.create(java.lang.Object parent,
QName name)
Creates the child bean.
|
java.lang.Object |
EnvironmentAttribute.create(java.lang.Object parent,
QName name)
Creates the child bean.
|
java.lang.Object |
AddAttribute.create(java.lang.Object parent,
QName qName)
Creates the child bean.
|
java.lang.Object |
Attribute.create(java.lang.Object parent,
QName name)
Creates the child bean.
|
java.lang.Object |
SetterAttribute.create(java.lang.Object parent,
QName name,
ConfigType<?> configType)
Creates the child bean.
|
java.lang.Object |
Attribute.create(java.lang.Object parent,
QName name,
ConfigType<?> type)
Creates the child bean.
|
void |
SetValueAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute
|
void |
SetterAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute
|
void |
AnnotationAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute
|
void |
ListValueAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute
|
void |
PropertyAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute
|
void |
TextAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute
|
void |
EnvironmentAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute
|
void |
AddAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute as text
|
void |
Attribute.setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute as text
|
void |
ProgramAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
SetValueAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
SetterAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
AnnotationAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
EntryAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
ListValueAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
CreateAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
PropertyAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
TextAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
EnvironmentAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
AddAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
abstract void |
Attribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
| Modifier and Type | Method and Description |
|---|---|
QName |
ConfigProgram.getQName()
Returns the program's QName
|
QName |
RecoverableProgram.getQName() |
QName |
NodeBuilderProgram.getQName() |
QName |
NodeBuilderChildProgram.getQName() |
| Constructor and Description |
|---|
PropertyStringProgram(QName qName,
java.lang.String value) |
| Modifier and Type | Field and Description |
|---|---|
static QName |
InlineBeanType.TEXT |
static QName |
InlineBeanType.VALUE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
AnnotationInterfaceType.create(java.lang.Object parent,
QName name)
Creates a new instance of the type.
|
java.lang.Object |
AbstractBeanType.create(java.lang.Object parent,
QName name)
Returns an InterfaceConfig object
|
java.lang.Object |
InlineBeanType.create(java.lang.Object parent,
QName name)
Creates a new instance
|
java.lang.Object |
PropertiesType.create(java.lang.Object parent,
QName name)
Creates a new instance of the type.
|
java.lang.Object |
ConfigType.create(java.lang.Object parent,
QName name)
Creates a new instance of the type.
|
java.lang.Object |
InterfaceType.create(java.lang.Object parent,
QName name)
Returns an InterfaceConfig object
|
java.lang.Object |
ArrayType.create(java.lang.Object parent,
QName name)
Creates a new instance
|
ConfigType<?> |
ObjectType.createType(QName name)
Creates a top-level instance of the type.
|
ConfigType<?> |
ConfigType.createType(QName name)
Creates a top-level instance of the type.
|
Attribute |
InlineBeanType.getAddBeanAttribute(QName qName) |
Attribute |
ConfigType.getAddBeanAttribute(QName qName) |
Attribute |
SetType.getAttribute(QName name)
Returns the attribute based on the given name.
|
Attribute |
ListType.getAttribute(QName name)
Returns the attribute based on the given name.
|
Attribute |
AnnotationInterfaceType.getAttribute(QName qName)
Returns the attribute with the given name.
|
Attribute |
InlineBeanType.getAttribute(QName name)
Returns the attribute based on the given name.
|
Attribute |
ValueType.getAttribute(QName name)
Returns the attribute based on the given name.
|
Attribute |
ConfigType.getAttribute(QName qName)
Returns the attribute with the given name.
|
Attribute |
ArrayType.getAttribute(QName name)
Returns the attribute based on the given name.
|
Attribute |
MapType.getAttribute(QName name)
Returns the attribute based on the given name.
|
protected Attribute |
InlineBeanType.getAttributeImpl(QName name) |
Attribute |
ConfigType.getDefaultAttribute(QName qName) |
Attribute |
TypeFactory.getEnvironmentAttribute(QName name)
Returns an environment type.
|
ConfigType<?> |
TypeFactory.getEnvironmentType(QName name)
Returns an environment type.
|
protected ConfigType<?> |
TypeFactory.getEnvironmentTypeRec(QName name)
Returns an environment type.
|
Attribute |
TypeFactory.getListAttribute(QName name)
Returns an environment type.
|
Attribute |
TypeFactory.getSetAttribute(QName name)
Returns an environment type.
|
static java.lang.Class<?> |
TypeFactory.loadClass(QName qName)
Returns the appropriate strategy.
|
boolean |
ConfigType.setProperty(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets a property based on an attribute name, returning true if
successful.
|
| Modifier and Type | Field and Description |
|---|---|
static QName |
XmlConfigContext.TEXT |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
XmlBeanAddAttribute.create(java.lang.Object parent,
QName qName)
Creates the child bean.
|
java.lang.Object |
XmlBeanFieldAttribute.create(java.lang.Object parent,
QName qName)
Creates the child bean.
|
java.lang.Object |
XmlBeanType.create(java.lang.Object parent,
QName name)
Creates a new instance
|
java.lang.Object |
XmlBeanAnnotationAttribute.create(java.lang.Object parent,
QName qName)
Creates the child bean.
|
java.lang.Object |
XmlBeanNewAttribute.create(java.lang.Object parent,
QName name)
Creates the child bean.
|
java.lang.Object |
XmlBeanMethodAttribute.create(java.lang.Object parent,
QName qName)
Creates the child bean.
|
java.lang.Object |
XmlBeanArgAttribute.create(java.lang.Object parent,
QName qName)
Creates the child bean.
|
java.lang.Object |
XmlBeanAttribute.create(java.lang.Object parent,
QName qName)
Creates the child bean.
|
Attribute |
XmlBeanType.getAttribute(QName qName)
Returns the attribute with the given name.
|
protected Attribute |
XmlBeanType.getAttributeImpl(QName qName) |
void |
XmlBeanAddAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String text)
Sets the value of the attribute
|
void |
XmlBeanFieldAttribute.setText(java.lang.Object parent,
QName name,
java.lang.String text)
Sets the value of the attribute
|
void |
XmlBeanValueArgAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String text)
Sets the value of the attribute
|
void |
XmlBeanAnnotationAttribute.setText(java.lang.Object parent,
QName name,
java.lang.String text)
Sets the value of the attribute
|
void |
XmlBeanNewAttribute.setText(java.lang.Object object,
QName name,
java.lang.String value)
Sets the value of the attribute as text
|
void |
XmlBeanProgramAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String text)
Sets the value of the attribute
|
void |
XmlBeanMethodAttribute.setText(java.lang.Object parent,
QName name,
java.lang.String text)
Sets the value of the attribute
|
void |
XmlBeanArgAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String text)
Sets the value of the attribute
|
void |
XmlBeanAttribute.setText(java.lang.Object bean,
QName name,
java.lang.String value)
Sets the value of the attribute as text
|
void |
XmlBeanAddAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
XmlBeanFieldAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
XmlBeanValueArgAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
XmlBeanAnnotationAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
XmlBeanNewAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value) |
void |
XmlBeanProgramAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
XmlBeanMethodAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
XmlBeanArgAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
void |
XmlBeanAttribute.setValue(java.lang.Object bean,
QName name,
java.lang.Object value)
Sets the value of the attribute
|
| Constructor and Description |
|---|
XmlBeanConfig(QName name,
java.lang.Class<T> cl,
java.lang.Object parent) |
XmlManagedBeanImpl(InjectManager injectManager,
<any> beanType,
boolean isSessionBean,
QName qName,
java.lang.String filename,
int line) |
| Constructor and Description |
|---|
NamePattern(QName name)
Creates a new element pattern.
|
| Modifier and Type | Method and Description |
|---|---|
QName |
NameItem.getQName() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Item.allowAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
boolean |
InElementItem.allowAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
boolean |
InterleaveItem.allowAttribute(QName name,
java.lang.String value)
Returns true if the attribute is allowed.
|
boolean |
GroupItem.allowAttribute(QName name,
java.lang.String value)
Returns true if the attribute is allowed.
|
boolean |
ChoiceItem.allowAttribute(QName name,
java.lang.String value)
Returns true if the attribute is allowed.
|
boolean |
MemoItem.allowAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
boolean |
AttributeItem.allowAttribute(QName name,
java.lang.String value)
Returns true if the attribute is allowed.
|
boolean |
ZeroOrMoreItem.allowAttribute(QName name,
java.lang.String value)
Returns true if the attribute is allowed.
|
boolean |
Item.allowsElement(QName name)
Returns true if the element is allowed somewhere in the item.
|
boolean |
InElementItem.allowsElement(QName name)
Returns true if the element is allowed somewhere in the item.
|
boolean |
InterleaveItem.allowsElement(QName name)
Returns true if the element is allowed somewhere in the item.
|
boolean |
GroupItem.allowsElement(QName name)
Returns true if the element is allowed somewhere in the item.
|
boolean |
ChoiceItem.allowsElement(QName name)
Returns true if the element is allowed somewhere in the item.
|
boolean |
ElementItem.allowsElement(QName name)
Returns true if the element is allowed somewhere in the item.
|
boolean |
ZeroOrMoreItem.allowsElement(QName name)
Returns true if the element is allowed somewhere in the item.
|
boolean |
AnyNameItem.matches(QName name)
Returns true if the name matches.
|
abstract boolean |
NameClassItem.matches(QName name)
Returns true if the name matches.
|
boolean |
NameItem.matches(QName name)
Returns true if the name matches.
|
boolean |
NsNameItem.matches(QName name)
Returns true if the name matches.
|
boolean |
ChoiceNameItem.matches(QName name)
Allows empty if both allow empty.
|
Item |
Item.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
InElementItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
InterleaveItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
GroupItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
ChoiceItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
MemoItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
AttributeItem.setAttribute(QName name,
java.lang.String value)
Returns the next item on the match.
|
Item |
EmptyItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
Item.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
InElementItem.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
InterleaveItem.startElement(QName name)
Returns the next item on the match.
|
Item |
GroupItem.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
ChoiceItem.startElement(QName name)
Returns the next item on the match.
|
Item |
MemoItem.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
ElementItem.startElement(QName name)
Returns the next item on the match.
|
Item |
ZeroOrMoreItem.startElement(QName name)
Returns the next item on the match.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Item.attributeSet(java.util.HashSet<QName> set)
Adds to the first set, the set of attribute names possible.
|
void |
InElementItem.attributeSet(java.util.HashSet<QName> set)
Returns the first set, the set of attribute names possible.
|
void |
InterleaveItem.attributeSet(java.util.HashSet<QName> set)
Returns the first set, the set of attribute names possible.
|
void |
GroupItem.attributeSet(java.util.HashSet<QName> set)
Returns the attribute set, the set of attribute names possible.
|
void |
ChoiceItem.attributeSet(java.util.HashSet<QName> set)
Returns the first set, the set of attribute names possible.
|
void |
MemoItem.attributeSet(java.util.HashSet<QName> set)
Adds to the first set, the set of attribute names possible.
|
void |
AttributeItem.attributeSet(java.util.HashSet<QName> set)
Returns the attribute set, the set of attribute names possible.
|
void |
ZeroOrMoreItem.attributeSet(java.util.HashSet<QName> set)
Returns the first set, the set of attribute names possible.
|
void |
Item.firstSet(java.util.HashSet<QName> set)
Adds to the first set the set of element names possible.
|
void |
InElementItem.firstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
AnyNameItem.firstSet(java.util.HashSet<QName> set)
Adds to the first set, the set of element names possible.
|
void |
InterleaveItem.firstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
GroupItem.firstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
ChoiceItem.firstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
NameClassItem.firstSet(java.util.HashSet<QName> set)
Adds to the first set, the set of element names possible.
|
void |
NameItem.firstSet(java.util.HashSet<QName> set)
Adds to the first set, the set of element names possible.
|
void |
MemoItem.firstSet(java.util.HashSet<QName> set)
Adds to the first set, the set of element names possible.
|
void |
AttributeItem.firstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
NsNameItem.firstSet(java.util.HashSet<QName> set)
Adds to the first set, the set of element names possible.
|
void |
EmptyItem.firstSet(java.util.HashSet<QName> set)
Adds to the first set, the set of element names possible.
|
void |
ElementItem.firstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
DataItem.firstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
ZeroOrMoreItem.firstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
TextItem.firstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
ChoiceNameItem.firstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
Item.requiredFirstSet(java.util.HashSet<QName> set)
Adds to the first set the set of element names required.
|
void |
InElementItem.requiredFirstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
InterleaveItem.requiredFirstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
GroupItem.requiredFirstSet(java.util.HashSet<QName> set)
Adds to the first set the set of element names required.
|
void |
ChoiceItem.requiredFirstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
MemoItem.requiredFirstSet(java.util.HashSet<QName> set)
Adds to the first set, the set of element names possible.
|
void |
ElementItem.requiredFirstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
void |
ZeroOrMoreItem.requiredFirstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
| Constructor and Description |
|---|
NameItem(QName name) |
| Modifier and Type | Method and Description |
|---|---|
QName |
QDocument.createName(java.lang.String uri,
java.lang.String name) |
QName |
CauchoElement.getQName()
Returns the qname.
|
QName |
QAbstractNode.getQName() |
QName |
QElement.getQName()
Returns the qname
|
QName |
QAttr.getQName()
Returns the full QName.
|
| Modifier and Type | Method and Description |
|---|---|
void |
QDocument.addNamespace(QName qname) |
org.w3c.dom.Attr |
QDocument.createAttribute(QName name,
java.lang.String value)
Creates a new namespace-aware attribute
|
org.w3c.dom.Element |
QDocument.createElementByName(QName name) |
void |
QElement.setName(QName name)
Assign a name to the element.
|
void |
DOMBuilder.startElement(QName name,
com.caucho.xml.QAttributes attributes) |
void |
QDocument.validateName(QName qname) |
| Constructor and Description |
|---|
QAttr(QDocument owner,
QName name) |
QAttr(QName name) |
QAttr(QName name,
java.lang.String value) |
QElement(QDocument owner,
QName name) |
QElement(QName name)
Create a new named element.
|