public abstract class SimpleView
extends java.lang.Object
Constructor and Description |
---|
SimpleView(org.w3c.dom.Document doc) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(Env env,
java.lang.String name,
java.lang.String value,
java.lang.String namespace) |
SimpleView |
addChild(Env env,
java.lang.String name,
java.lang.String value,
java.lang.String namespace) |
protected static SimpleView |
create(org.w3c.dom.Node node) |
AttributeListView |
getAttributes(java.lang.String namespace) |
ChildrenView |
getChildren(java.lang.String namespace,
java.lang.String prefix) |
int |
getCount() |
java.lang.String |
getEncoding() |
java.util.Set<java.util.Map.Entry<Value,Value>> |
getEntrySet(Env env,
QuercusClass cls) |
abstract SimpleView |
getField(Env env,
Value indexV) |
abstract SimpleView |
getIndex(Env env,
Value indexV) |
java.util.Iterator<java.util.Map.Entry<IteratorIndex,SimpleView>> |
getIterator() |
java.util.HashMap<java.lang.String,java.lang.String> |
getNamespaces(boolean isRecursive,
boolean isFromRoot,
boolean isCheckUsage) |
protected org.w3c.dom.Node |
getNode() |
java.lang.String |
getNodeName() |
java.lang.String |
getNodeValue() |
org.w3c.dom.Document |
getOwnerDocument() |
boolean |
issetField(Env env,
java.lang.String name) |
void |
jsonEncode(Env env,
JsonEncodeContext context,
StringValue sb,
QuercusClass cls) |
void |
printR(Env env,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet,
QuercusClass cls) |
abstract SimpleView |
setField(Env env,
Value indexV,
Value value) |
abstract SimpleView |
setIndex(Env env,
Value indexV,
Value value) |
Value |
toDumpValue(Env env,
QuercusClass cls,
boolean isChildren) |
abstract java.lang.String |
toString(Env env) |
abstract boolean |
toXml(Env env,
java.lang.StringBuilder sb) |
void |
varDump(Env env,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet,
QuercusClass cls) |
java.util.List<SimpleView> |
xpath(Env env,
SimpleNamespaceContext context,
java.lang.String expression) |
protected static java.util.List<SimpleView> |
xpath(org.w3c.dom.Node node,
SimpleNamespaceContext context,
java.lang.String expression) |
public final org.w3c.dom.Document getOwnerDocument()
public java.lang.String getNodeName()
public java.lang.String getNodeValue()
public final java.lang.String getEncoding()
public ChildrenView getChildren(java.lang.String namespace, java.lang.String prefix)
public AttributeListView getAttributes(java.lang.String namespace)
public SimpleView addChild(Env env, java.lang.String name, java.lang.String value, java.lang.String namespace)
public void addAttribute(Env env, java.lang.String name, java.lang.String value, java.lang.String namespace)
public java.util.List<SimpleView> xpath(Env env, SimpleNamespaceContext context, java.lang.String expression)
protected org.w3c.dom.Node getNode()
public java.util.HashMap<java.lang.String,java.lang.String> getNamespaces(boolean isRecursive, boolean isFromRoot, boolean isCheckUsage)
public abstract SimpleView getIndex(Env env, Value indexV)
public abstract SimpleView setIndex(Env env, Value indexV, Value value)
public abstract SimpleView getField(Env env, Value indexV)
public abstract SimpleView setField(Env env, Value indexV, Value value)
public java.util.Iterator<java.util.Map.Entry<IteratorIndex,SimpleView>> getIterator()
public java.util.Set<java.util.Map.Entry<Value,Value>> getEntrySet(Env env, QuercusClass cls)
public abstract java.lang.String toString(Env env)
public abstract boolean toXml(Env env, java.lang.StringBuilder sb)
public Value toDumpValue(Env env, QuercusClass cls, boolean isChildren)
public void varDump(Env env, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet, QuercusClass cls) throws java.io.IOException
java.io.IOException
public void printR(Env env, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet, QuercusClass cls) throws java.io.IOException
java.io.IOException
public void jsonEncode(Env env, JsonEncodeContext context, StringValue sb, QuercusClass cls)
public int getCount()
public boolean issetField(Env env, java.lang.String name)
protected static SimpleView create(org.w3c.dom.Node node)
protected static java.util.List<SimpleView> xpath(org.w3c.dom.Node node, SimpleNamespaceContext context, java.lang.String expression) throws javax.xml.xpath.XPathExpressionException
javax.xml.xpath.XPathExpressionException