public class EmptyResourceNode extends ResourceNode
EmptyResourceNode class.
compiledCache, compiler| Constructor and Description |
|---|
EmptyResourceNode()
Constructor for EmptyResourceNode.
|
EmptyResourceNode(String name)
Constructor for EmptyResourceNode.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream(String key)
Return the input stream of a content resource.
|
String |
getName()
Return a name of this config element could also be null.
|
ResourceNode |
getNode(String key)
Returns a inner configuration by the name.
|
String[] |
getNodeKeys()
Return all possible, existing inner configuration names.
|
ResourceNode[] |
getNodes()
Return all inner configurations ignoring the name.
|
ResourceNode[] |
getNodes(String key)
Return all inner configurations by the given name.
|
ResourceNode |
getParent()
return the parent config if possible.
|
Object |
getProperty(String name)
Overwrite this function to provide values in string format.
|
String[] |
getPropertyKeys()
Return all existing keys.
|
URL |
getUrl()
getUrl.
|
boolean |
hasContent()
hasContent.
|
boolean |
isEditable()
Overwrite this function and return true if the property set can be edited.
|
boolean |
isProperty(String name)
Return true if the property exists.
|
boolean |
isValide()
isValide.
|
void |
removeProperty(String key)
Remove the property field in the list of properties.
|
void |
setProperty(String key,
Object value)
Overwrite this function to allow changes in properties.
|
getExtracted, getExtracted, getExtracted, getInputStream, getNodeByPath, keysgetBoolean, getBoolean, getCalendar, getDate, getDouble, getFloat, getInt, getLong, getNumber, getProperty, getString, getString, iterator, setBoolean, setCalendar, setDate, setDouble, setFloat, setInt, setLong, setNumber, setString, toMapbase, base, createBase, forkBase, installBase, isBase, leaveBase, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic String[] getPropertyKeys()
getPropertyKeys in class ResourceNodeString objects.public ResourceNode getNode(String key)
getNode in class ResourceNodekey - a String object.ResourceNode object.public ResourceNode[] getNodes()
getNodes in class ResourceNodeResourceNode objects.public ResourceNode[] getNodes(String key)
getNodes in class ResourceNodekey - a String object.ResourceNode objects.public String[] getNodeKeys()
getNodeKeys in class ResourceNodeString objects.public String getName() throws MException
getName in class ResourceNodeString object.MException - if any.public InputStream getInputStream(String key)
getInputStream in class ResourceNodekey - Name of a rendition or null for the default contentInputStream object.public ResourceNode getParent()
getParent in class ResourceNodeResourceNode object.public URL getUrl()
getUrl.
getUrl in class ResourceNodeURL object.public boolean isValide()
isValide.
isValide in class ResourceNodepublic boolean hasContent()
hasContent.
hasContent in class ResourceNodepublic Object getProperty(String name)
getProperty in class IPropertiesname - a String object.public boolean isProperty(String name)
isProperty in class IPropertiesname - a String object.public void removeProperty(String key)
removeProperty in class IPropertieskey - a String object.public void setProperty(String key, Object value)
setProperty in class IPropertieskey - a String object.value - a Object object.public boolean isEditable()
isEditable in class IPropertiesCopyright © 2016. All Rights Reserved.