|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.essepuntato.earmark.core.EARMARKDocument
public class EARMARKDocument
This class represents an EARMARK document. Is is used to create new markup items (elements, attributes, comments) and ranges (pointer and xpath pointer ranges).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface it.essepuntato.earmark.core.EARMARKNode |
|---|
EARMARKNode.Type |
| Field Summary | |
|---|---|
static java.lang.String |
SEPARATOR
It represents the URI separator for the name of the items when an id is not specified or it is specified locally. |
| Constructor Summary | |
|---|---|
EARMARKDocument(java.net.URI uri)
Create an empty EARMARKDocument. |
| Method Summary | |
|---|---|
protected com.hp.hpl.jena.rdf.model.Statement |
addAssertion(EARMARKItem subject,
com.hp.hpl.jena.rdf.model.Property predicate,
EARMARKItem object)
This method adds the statement defined by the triple specified (with an EARMARK item specified as subject and another one as object) to the model. |
protected com.hp.hpl.jena.rdf.model.Statement |
addAssertion(EARMARKItem subject,
com.hp.hpl.jena.rdf.model.Property predicate,
com.hp.hpl.jena.rdf.model.RDFNode object)
This method adds the statement defined by the triple specified (with an EARMARK item specified as subject) to the model. |
protected com.hp.hpl.jena.rdf.model.Statement |
addAssertion(com.hp.hpl.jena.rdf.model.Resource subject,
com.hp.hpl.jena.rdf.model.Property predicate,
EARMARKItem object)
This method adds the statement defined by the triple specified (with an EARMARK item specified as object) to the model. |
EARMARKChildNode |
adoptNode(EARMARKChildNode n)
This method adopts a node of another document in this one. |
EARMARKChildNode |
appendChild(EARMARKChildNode newChild)
Add the node newChild to the end of the sequence of the node. |
protected EARMARKChildNode |
appendChild(EARMARKChildNode newChild,
EARMARKHierarchicalNode node)
Add the node newChild to the end of the sequence of the node specified. |
com.hp.hpl.jena.rdf.model.Statement |
assertsAsObject(EARMARKItem subject,
com.hp.hpl.jena.rdf.model.Property predicate)
This method allows us to add a new RDF statement, using this item as object. |
com.hp.hpl.jena.rdf.model.Statement |
assertsAsObject(com.hp.hpl.jena.rdf.model.Resource subject,
com.hp.hpl.jena.rdf.model.Property predicate)
This method allows us to add a new RDF statement, using this item as object. |
com.hp.hpl.jena.rdf.model.Statement |
assertsAsSubject(com.hp.hpl.jena.rdf.model.Property predicate,
EARMARKItem object)
This method allows us to add a new RDF statement, using this item as subject. |
com.hp.hpl.jena.rdf.model.Statement |
assertsAsSubject(com.hp.hpl.jena.rdf.model.Property predicate,
com.hp.hpl.jena.rdf.model.RDFNode object)
This method allows us to add a new RDF statement, using this item as subject. |
EARMARKDocument |
clone()
This method returns a new EARMARK document initialised with the callee identifier. |
EARMARKNode |
cloneNode(boolean deep)
This method clones the document. |
EARMARKChildNode |
copyNode(EARMARKChildNode node,
boolean deep)
This method copies to this document a node contained in another document. |
Attribute |
createAttribute(Collection.Type type)
This method returns an attribute. |
Attribute |
createAttribute(java.lang.String gi,
Collection.Type type)
This method returns an attribute. |
Attribute |
createAttribute(java.lang.String id,
java.lang.String gi,
Collection.Type type)
This method returns an attribute. |
Attribute |
createAttribute(java.lang.String id,
java.lang.String gi,
java.net.URI ns,
Collection.Type type)
This method returns an attribute. |
Attribute |
createAttribute(java.lang.String gi,
java.net.URI ns,
Collection.Type type)
This method returns an attribute. |
Attribute |
createAttribute(java.net.URI id,
java.lang.String gi,
Collection.Type type)
This method returns an attribute. |
Attribute |
createAttribute(java.net.URI id,
java.lang.String gi,
java.net.URI ns,
Collection.Type type)
This method returns an attribute. |
Comment |
createComment(Collection.Type type)
This method returns an comment. |
Comment |
createComment(java.lang.String gi,
Collection.Type type)
This method returns an comment. |
Comment |
createComment(java.lang.String id,
java.lang.String gi,
Collection.Type type)
This method returns a comment. |
Comment |
createComment(java.lang.String id,
java.lang.String gi,
java.net.URI ns,
Collection.Type type)
This method returns a comment. |
Comment |
createComment(java.lang.String gi,
java.net.URI ns,
Collection.Type type)
This method returns an comment. |
Comment |
createComment(java.net.URI id,
java.lang.String gi,
Collection.Type type)
This method returns a comment. |
Comment |
createComment(java.net.URI id,
java.lang.String gi,
java.net.URI ns,
Collection.Type type)
This method returns a comment. |
Element |
createElement(Collection.Type type)
This method returns an element. |
Element |
createElement(java.lang.String gi,
Collection.Type type)
This method returns an element. |
Element |
createElement(java.lang.String id,
java.lang.String gi,
Collection.Type type)
This method returns a element. |
Element |
createElement(java.lang.String id,
java.lang.String gi,
java.net.URI ns,
Collection.Type type)
This method returns a element. |
Element |
createElement(java.lang.String gi,
java.net.URI ns,
Collection.Type type)
This method returns an element. |
Element |
createElement(java.net.URI id,
java.lang.String gi,
Collection.Type type)
This method returns a element. |
Element |
createElement(java.net.URI id,
java.lang.String gi,
java.net.URI ns,
Collection.Type type)
This method returns a element. |
PointerRange |
createPointerRange(Docuverse docuverse,
java.lang.Integer begin,
java.lang.Integer end)
This method creates a new pointer range between two location. |
PointerRange |
createPointerRange(java.lang.String id,
Docuverse docuverse,
java.lang.Integer begin,
java.lang.Integer end)
This method creates a new pointer range between two location. |
PointerRange |
createPointerRange(java.net.URI id,
Docuverse docuverse,
java.lang.Integer begin,
java.lang.Integer end)
This method creates a new pointer range between two location. |
StringDocuverse |
createStringDocuverse(java.lang.String content)
This method creates a new string docuverse. |
StringDocuverse |
createStringDocuverse(java.lang.String id,
java.lang.String content)
This method creates a new string docuverse. |
StringDocuverse |
createStringDocuverse(java.net.URI id,
java.lang.String content)
This method creates a new string docuverse. |
URIDocuverse |
createURIDocuverse(java.lang.String id,
java.net.URI uri)
This method creates a new URI docuverse. |
URIDocuverse |
createURIDocuverse(java.net.URI uri)
This method creates a new URI docuverse. |
URIDocuverse |
createURIDocuverse(java.net.URI id,
java.net.URI uri)
This method creates a new URI docuverse. |
XPathPointerRange |
createXPathPointerRange(Docuverse docuverse,
java.lang.Integer begin,
java.lang.Integer end,
java.lang.String xpath)
This method creates a new xpath pointer range between two location. |
XPathPointerRange |
createXPathPointerRange(java.lang.String id,
Docuverse docuverse,
java.lang.Integer begin,
java.lang.Integer end,
java.lang.String xpath)
This method creates a new xpath pointer range between two location. |
XPathPointerRange |
createXPathPointerRange(java.net.URI id,
Docuverse docuverse,
java.lang.Integer begin,
java.lang.Integer end,
java.lang.String xpath)
This method creates a new xpath pointer range between two location. |
boolean |
equals(java.lang.Object obj)
|
java.util.Set<Docuverse> |
getAllDocuverses()
This method returns all the docuverses of the document. |
java.util.Set<EARMARKChildNode> |
getAllEARMARKNode()
This method returns a set of all the EARMARK nodes (elements, attributes, comments and ranges) of the document. |
java.util.Set<com.hp.hpl.jena.rdf.model.Statement> |
getAssertionsAsObject()
This method returns a set with all the statements in the model having this item as object. |
protected java.util.Set<com.hp.hpl.jena.rdf.model.Statement> |
getAssertionsAsObject(EARMARKItem ei)
This method returns all the statements in the model having 'ei' as object. |
java.util.Set<com.hp.hpl.jena.rdf.model.Statement> |
getAssertionsAsSubject()
This method returns a set with all the statements in the model having this item as subject. |
protected java.util.Set<com.hp.hpl.jena.rdf.model.Statement> |
getAssertionsAsSubject(EARMARKItem ei)
This method returns all the statements in the model having 'ei' as subject. |
Collection |
getAttributes()
This method returns a collection that contains all the attributes of this node. |
protected Collection |
getAttributes(EARMARKNode node)
A collection that contains all the attributes of the node specified. |
Collection |
getChildElements()
This method return all the child elements of the node. |
protected Collection |
getChildElements(EARMARKNode node)
This method return all the child elements of the node specified. |
Collection |
getChildNodes()
This method returns a collection that contains all children (elements, attributes, comments) of this node. |
protected Collection |
getChildNodes(EARMARKNode node)
This method returns a collection that contains all children (elements, attributes, comments) of the node specified. |
Collection |
getComments()
This method returns a collection that contains all the comments of this node. |
protected Collection |
getComments(EARMARKNode node)
A collection that contains all the comments of the node specified. |
com.hp.hpl.jena.rdf.model.Model |
getDocumentAsModel()
This method returns a Jena model representing the EARMARK document. |
java.lang.String |
getDocumentAsRDFXML()
This method returns a string containing the RDF/XML representation of the EARMARK document. |
java.lang.String |
getDocumentAsRDFXML(java.util.Map<java.lang.String,java.lang.String> prefixNsPairs)
This method returns a string containing the RDF/XML representation of the EARMARK document. |
java.lang.String |
getDocumentAsTurtle()
This method returns a string containing the Turtle representation of the EARMARK document. |
java.lang.String |
getDocumentAsTurtle(java.util.Map<java.lang.String,java.lang.String> prefixNsPairs)
This method returns a string containing the Turtle representation of the EARMARK document. |
EARMARKItem |
getEntityById(java.lang.String id)
This method allows to get an EARMARK item through its id. |
EARMARKItem |
getEntityById(java.net.URI id)
This method allows to get an EARMARK item through its id. |
EARMARKChildNode |
getFirstChild()
The first child of this node. |
protected EARMARKChildNode |
getFirstChild(EARMARKHierarchicalNode node)
The first child of the node specified. |
java.util.Set<java.lang.String> |
getGeneralIdentifiersFromNamespace(java.net.URI ns)
This method returns the set of general identifiers referred either to a particular namespace in the document or to no namespace. |
protected java.util.Map<java.net.URI,EARMARKItem> |
getIdMap()
This method returns all the ids of the EARMARK document. |
java.util.Set<java.net.URI> |
getIdPool()
This method returns a set of all the ids of all the items described by the EARMARK document. |
EARMARKChildNode |
getLastChild()
The last child of this node. |
protected EARMARKChildNode |
getLastChild(EARMARKHierarchicalNode node)
The last child of the node specified. |
java.util.Set<MarkupItem> |
getMarkupItemByGeneralIdentifier(java.lang.String gi)
This method returns a set of markup items having a particular general identifier associated. |
java.util.Set<MarkupItem> |
getMarkupItemByGeneralIdentifierAndNamespace(java.lang.String gi,
java.net.URI ns)
This method returns a set of markup items having a particular general identifier and namespace associated. |
com.hp.hpl.jena.rdf.model.Model |
getModel()
This method return the RDF model of non-EARMARK additional assertion related to this EARMARK document. |
java.util.Set<java.net.URI> |
getNamespaces()
This method returns a set of all the namespaces used in the document. |
protected EARMARKChildNode |
getNextSibling(EARMARKChildNode node)
This method returns the next siblings of the node specified. |
protected java.util.Set<EARMARKChildNode> |
getNextSiblings(EARMARKChildNode node)
This method returns all the next siblings of the node specified. |
EARMARKNode.Type |
getNodeType()
A code representing the type of the underlying earmark node. |
EARMARKDocument |
getOwnerDocument()
The EARMARKDocument object associated with this node. |
protected EARMARKHierarchicalNode |
getParentNode(EARMARKChildNode node)
The parent of the node specified. |
protected java.util.Set<EARMARKHierarchicalNode> |
getParentNodes(EARMARKChildNode node)
This method returns the parents of the node specified. |
protected EARMARKChildNode |
getPreviousSibling(EARMARKChildNode node)
This method returns the previous siblings of the node specified. |
protected java.util.Set<EARMARKChildNode> |
getPreviousSiblings(EARMARKChildNode node)
This method returns all the previous siblings of the node specified. |
static EARMARKReader |
getReader()
This method returns the I/O reader processor currently set for this class. |
java.lang.String |
getTextContent()
This method returns the text content of this node and its descendants. |
protected java.lang.String |
getTextContent(EARMARKHierarchicalNode node)
This method returns the text content of the node specified and its descendants. |
protected java.lang.Object |
getUserData(EARMARKNode node,
java.lang.String key)
Retrieves the object associated to a key on the node specified. |
java.lang.Object |
getUserData(java.lang.String key)
Retrieves the object associated to a key on a this node. |
static EARMARKWriter |
getWriter()
This method returns the I/O writer processor currently set for this class. |
boolean |
hasAttribute()
Returns whether this node has any attributes. |
protected boolean |
hasAttribute(EARMARKNode node)
Returns whether the node specified has any attributes. |
protected boolean |
hasBasicEquality(EARMARKNode n1,
EARMARKNode n2)
This methods check whether two nodes are equal in type (EARMARKNode.Type). |
boolean |
hasChildNodes()
Returns whether this node has any children. |
protected boolean |
hasChildNodes(EARMARKNode node)
Returns whether the node specified has any children. |
boolean |
hasElementNodes()
This method says whether the node is a collection containing elements. |
protected boolean |
hasElementNodes(EARMARKNode node)
This method says whether the node specified is a collection containing elements. |
int |
hashCode()
|
protected boolean |
hasHierarchicalEquality(EARMARKHierarchicalNode node,
EARMARKHierarchicalNode other,
boolean lookForSameness)
This method checks whether two nodes have the same structure. |
java.net.URI |
hasId()
This method returns the absolute URI that identifies the EARMARK item. |
java.lang.String |
hasLocalId()
This method returns the local name that identifies the EARMARK item. |
EARMARKChildNode |
insertBefore(EARMARKChildNode newChild,
EARMARKChildNode refChild)
Inserts the node newChild before the first existing child node refChild of the node. |
protected EARMARKChildNode |
insertBefore(EARMARKChildNode newChild,
EARMARKChildNode refChild,
EARMARKHierarchicalNode node)
Inserts the node newChild before the first existing child node refChild of the node specified. |
EARMARKChildNode |
insertBefore(EARMARKChildNode newChild,
EARMARKChildNode refChild,
int occurrence)
Inserts the node newChild before the existing child node by occurrence refChild of the node. |
protected EARMARKChildNode |
insertBefore(EARMARKChildNode newChild,
EARMARKChildNode refChild,
int occurrence,
EARMARKHierarchicalNode node)
Inserts the node newChild before the existing child node by occurrence refChild of the node specified. |
boolean |
isBag()
This method says whether the EARMARK node is a bag or not. |
boolean |
isEqualNode(EARMARKNode node)
This method checks if the document is equal to another node. |
boolean |
isList()
This method says whether the EARMARK node is a list or not. |
boolean |
isSameNode(EARMARKNode node)
This methods check if two nodes are the same, i.e., they have the same identifier. |
protected boolean |
isSameNode(EARMARKNode node,
EARMARKNode other)
This method chekcs if two nodes are the same node (i.e., they have the same identifier). |
boolean |
isSet()
This method says whether the EARMARK node is a set or not. |
boolean |
isStructurallyEqualNode(EARMARKNode node)
This method checks if the document is equal to another node. |
static EARMARKDocument |
load(java.io.File file)
This method loads an EARMARK document from either an RDF/XML or a Turtle representation of it given through a file. |
static EARMARKDocument |
load(com.hp.hpl.jena.rdf.model.Model model)
This method loads an EARMARK document from a Jena model of it. |
static EARMARKDocument |
load(java.lang.String content)
This method loads an EARMARK document from either an RDF/XML or a Turtle representation of it given through a string. |
static EARMARKDocument |
load(java.net.URL url)
This method loads an EARMARK document from either an RDF/XML or a Turtle representation of it given through an URL. |
java.util.Set<com.hp.hpl.jena.rdf.model.Statement> |
removeAllAssertions()
This method removes all the assertions having this item as subject or object. |
protected java.util.Set<com.hp.hpl.jena.rdf.model.Statement> |
removeAllAssertions(EARMARKItem item)
This method removes all the assertions where the item specified is a subject or an object. |
EARMARKChildNode |
removeAllChild(EARMARKChildNode oldChild)
Remove the all the child node indicated by oldChild from the collection of children of the node, and returns it. |
protected EARMARKChildNode |
removeAllChild(EARMARKChildNode oldChild,
EARMARKHierarchicalNode node)
Remove the all the child node indicated by oldChild from the collection of children of node, and returns it. |
EARMARKChildNode |
removeChild(EARMARKChildNode oldChild)
This method removes the first child node indicated by oldChild from the list of children of the node, and returns it. |
protected EARMARKChildNode |
removeChild(EARMARKChildNode oldChild,
EARMARKHierarchicalNode node)
This method removes the first child node indicated by oldChild from the list of children of 'node', and returns it. |
EARMARKChildNode |
removeChildByOccurrence(EARMARKChildNode oldChild,
int occurrence)
Remove the child node by occurrence indicated by oldChild from the collection of children of the node, and returns it. |
protected EARMARKChildNode |
removeChildByOccurrence(EARMARKChildNode oldChild,
int occurrence,
EARMARKHierarchicalNode node)
Remove the child node by occurrence indicated by oldChild from the collection of children of node, and returns it. |
boolean |
removeDocuverse(Docuverse d)
This method removes a docuverse from the document, if and only if the docuverse is not referred to by any range. |
boolean |
removeMarkupItem(MarkupItem markupitem)
This method removes a markup item from the document. |
protected boolean |
removeMarkupItem(MarkupItem markupitem,
boolean strong)
This method removes a markup item from the document. |
boolean |
removeRange(Range range)
This method removes the range specified from the document. |
EARMARKChildNode |
replaceAllChild(EARMARKChildNode newChild,
EARMARKChildNode oldChild)
Replace the all child node oldChild with newChild in the collection of children of the node, and returns the oldChild node. |
protected EARMARKChildNode |
replaceAllChild(EARMARKChildNode newChild,
EARMARKChildNode oldChild,
EARMARKHierarchicalNode node)
Replace the all child node oldChild with newChild in the collection of children of node, and returns the oldChild node. |
EARMARKChildNode |
replaceChild(EARMARKChildNode newChild,
EARMARKChildNode oldChild)
Replace the first child node oldChild with newChild in the collection of children of the node, and returns the oldChild node. |
protected EARMARKChildNode |
replaceChild(EARMARKChildNode newChild,
EARMARKChildNode oldChild,
EARMARKHierarchicalNode node)
Replace the first child node oldChild with newChild in the collection of children of node, and returns the oldChild node. |
EARMARKChildNode |
replaceChildByOccurrence(EARMARKChildNode newChild,
EARMARKChildNode oldChild,
int occurrence)
Replace the child node by occurrence indicated by oldChild from the list of children of 'node', and returns it. |
protected EARMARKChildNode |
replaceChildByOccurrence(EARMARKChildNode newChild,
EARMARKChildNode oldChild,
int occurrence,
EARMARKHierarchicalNode node)
Remove the child node by occurrence indicated by oldChild from the list of children of 'node', and returns it. |
protected boolean |
setId(EARMARKItem item,
java.net.URI newId)
This method changes the local id of an item with a new one. |
static void |
setReader(EARMARKReader reader)
This method allows to set a particular I/O reader processor that will be used for converting a source EARMARK document into its Java representation. |
void |
setUserData(java.lang.String key,
java.lang.Object data)
Associate an object to a key on this node. |
protected void |
setUserData(java.lang.String key,
java.lang.Object data,
EARMARKNode node)
This method allows to associate an object to a key on the node specified. |
static void |
setWriter(EARMARKWriter writer)
This method allows to set a particular I/O writer processor that will be used for converting a Java representation of an EARMARK document into a particular format, chosen from the set of formats handled by the writer itself |
boolean |
store(java.io.File file)
This method stores the EARMARK document into a file. |
boolean |
store(java.io.File file,
java.util.Map<java.lang.String,java.lang.String> prefixNsPairs)
This method stores the EARMARK document into a file. |
boolean |
store(java.io.File file,
java.lang.String format)
This method stores the EARMARK document into a file. |
boolean |
store(java.io.File file,
java.lang.String format,
java.util.Map<java.lang.String,java.lang.String> prefixNsPairs)
This method stores the EARMARK document into a file. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SEPARATOR
| Constructor Detail |
|---|
public EARMARKDocument(java.net.URI uri)
uri
- The URI to associate to the document.| Method Detail |
|---|
public boolean removeRange(Range range)
range
- the range to be removed.
public boolean removeMarkupItem(MarkupItem markupitem)
This method removes a markup item from the document.
Removing a markup item means to remove all its descendant as well, unless they have more than one parent.
markupitem
- the markup item to be removed.
protected boolean removeMarkupItem(MarkupItem markupitem, boolean strong)
This method removes a markup item from the document.
markupitem
- the markup item to be removed.strong
- if true, this method removes all the descendant of the input node without any check.
Otherwise, if false, only the descendants that have one parent only will be removed.
public EARMARKItem getEntityById(java.net.URI id)
id
- the identifier of the item to be returned.
public EARMARKItem getEntityById(java.lang.String id)
This method allows to get an EARMARK item through its id.
When the string do not comply with the complete URL syntax (i.e., [protocol] + :// + domain + resource path), the string will be completed automatically with the path of the current document id. For instance, if the input string is "p14" and the document id is the URI "http://www.example.com/mydocument", then the resulting id considered by this method will be "http://www.example.com/mydocument" + SEPARATOR + "p14".
id
- the complete string for the URI identifying of the item to be returned.
public java.util.Set<MarkupItem> getMarkupItemByGeneralIdentifier(java.lang.String gi)
This method returns a set of markup items having a particular general identifier associated.
If the general identifier specified is null or "", the method looks for all the entities that do not have any general identifier specified.
gi
- the general identifier for the entities to be retrieved.
public java.util.Set<MarkupItem> getMarkupItemByGeneralIdentifierAndNamespace(java.lang.String gi, java.net.URI ns)
This method returns a set of markup items having a particular general identifier and namespace associated.
If the general identifier specified is null or "", the method looks for all the entities that do not have any general identifier specified. In the same way, if the namespace is null or "", the method looks for all the entities that do not have any namespace specified.
gi
- the general identifier for the entities to be retrieved.ns
- the namespace for the entities to be retrieved.
public static EARMARKReader getReader()
This method returns the I/O reader processor currently set for this class. The processor will be used for converting a source EARMARK document into its Java representation.
By default, the reader is a JenaReader.
public static void setReader(EARMARKReader reader)
reader
- the I/O reader to be considered.public static EARMARKWriter getWriter()
This method returns the I/O writer processor currently set for this class. The processor will be used for converting a Java representation of an EARMARK document into a particular format, chosen from the set of formats handled by the writer itself.
By default, the writer is a JenaWriter.
public static void setWriter(EARMARKWriter writer)
writer
- the I/O writer to be considered.public boolean isList()
EARMARKHierarchicalNode
isList
in interface EARMARKHierarchicalNode
public boolean isBag()
EARMARKHierarchicalNode
isBag
in interface EARMARKHierarchicalNode
public boolean isSet()
EARMARKHierarchicalNode
isSet
in interface EARMARKHierarchicalNode
public java.util.Set<EARMARKChildNode> getAllEARMARKNode()
public java.util.Set<java.net.URI> getIdPool()
protected java.util.Map<java.net.URI,EARMARKItem> getIdMap()
This method returns all the ids of the EARMARK document. Each modification to this set is not propagated to all the structures involved and, consequently, may result in wrong behaviours and/or collateral effects.
It is usually reserved for internal use only.
protected boolean setId(EARMARKItem item, java.net.URI newId)
This method changes the local id of an item with a new one. Each modification to the id is not propagated to all the structures involved and, consequently, may result in wrong behaviours and/or collateral effects.
It is usually reserved for internal use only.
item
- the item in which we want to change the id.newId
- the new id for the input item.
public java.util.Set<Docuverse> getAllDocuverses()
public StringDocuverse createStringDocuverse(java.lang.String content)
content
- the string content of the docuverse.
public StringDocuverse createStringDocuverse(java.net.URI id, java.lang.String content) throws ExistingIdException
id
- the identifier for the new docuverse.content
- the string content of the new docuverse.
ExistingIdException
- if the identifier specified is already used in the document.public StringDocuverse createStringDocuverse(java.lang.String id, java.lang.String content) throws ExistingIdException
This method creates a new string docuverse.
When the id do not comply with the complete URL syntax (i.e., [protocol] + :// + domain + resource path), the id will be completed automatically with the path of the current document id. For instance, if the input id string is "p14" and the document id is the URI "http://www.example.com/mydocument", then the resulting id string considered by this method will be "http://www.example.com/mydocument" + SEPARATOR + "p14".
id
- the identifier of the new docuverse.content
- the string content of the new docuverse.
ExistingIdException
- if the identifier specified is already used in the document.public URIDocuverse createURIDocuverse(java.net.URI uri)
uri
- the URI where the content of the new docuverse is contained.
public URIDocuverse createURIDocuverse(java.net.URI id, java.net.URI uri) throws ExistingIdException
id
- the identifier of the new docuverse.uri
- the URI where the content of the new docuverse is contained.
ExistingIdException
- if the identifier specified is already used in the document.public URIDocuverse createURIDocuverse(java.lang.String id, java.net.URI uri) throws ExistingIdException
This method creates a new URI docuverse.
When the id do not comply with the complete URL syntax (i.e., [protocol] + :// + domain + resource path), the id will be completed automatically with the path of the current document id. For instance, if the input id string is "p14" and the document id is the URI "http://www.example.com/mydocument", then the resulting id string considered by this method will be "http://www.example.com/mydocument" + SEPARATOR + "p14".
id
- the identifier of the new docuverse.uri
- the URI where the content of the new docuverse is contained.
ExistingIdException
- if the identifier specified is already used in the document.public PointerRange createPointerRange(Docuverse docuverse, java.lang.Integer begin, java.lang.Integer end)
This method creates a new pointer range between two location.
If, in the EARMARK document, a range with same begin and end locations and same docuverse exists, this method returns it.
docuverse
- the docuverse the range refers to.begin
- the begin location of the range.end
- the end location of the range.
public PointerRange createPointerRange(java.lang.String id, Docuverse docuverse, java.lang.Integer begin, java.lang.Integer end) throws ExistingIdException, EARMARKGraphException
This method creates a new pointer range between two location.
If, in the EARMARK document, a range with same begin and end locations and same docuverse exists, this method returns it.
When the id do not comply with the complete URL syntax (i.e., [protocol] + :// + domain + resource path), the id will be completed automatically with the path of the current document id. For instance, if the input id string is "p14" and the document id is the URI "http://www.example.com/mydocument", then the resulting id string considered by this method will be "http://www.example.com/mydocument" + SEPARATOR + "p14".
id
- the identifier for the new range.docuverse
- the docuverse the range refers to.begin
- the begin location of the range.end
- the end location of the range.
ExistingIdException
- if the identifier specified is already used in the document.
EARMARKGraphException
- if the docuverse specified was created using
different document.public PointerRange createPointerRange(java.net.URI id, Docuverse docuverse, java.lang.Integer begin, java.lang.Integer end) throws ExistingIdException, EARMARKGraphException
This method creates a new pointer range between two location.
If, in the EARMARK document, a range with same begin and end locations and same docuverse exists, this method returns it.
id
- the identifier for the new range.docuverse
- the docuverse the range refers to.begin
- the begin location of the range.end
- the end location of the range.
ExistingIdException
- if the identifier specified is already used in the document.
EARMARKGraphException
- if the docuverse specified was created using
different document.public XPathPointerRange createXPathPointerRange(java.lang.String id, Docuverse docuverse, java.lang.Integer begin, java.lang.Integer end, java.lang.String xpath) throws ExistingIdException, EARMARKGraphException
This method creates a new xpath pointer range between two location.
If, in the EARMARK document, a range with same begin and end locations, same docuverse and same xpath expression exists, this method returns it.
When the id do not comply with the complete URL syntax (i.e., [protocol] + :// + domain + resource path), the id will be completed automatically with the path of the current document id. For instance, if the input id string is "p14" and the document id is the URI "http://www.example.com/mydocument", then the resulting id string considered by this method will be "http://www.example.com/mydocument" + SEPARATOR + "p14".
id
- the identifier for the new range.docuverse
- the docuverse the range refers to.begin
- the begin location of the range.end
- the end location of the range.xpath
- the xpath expression to be considered.
ExistingIdException
- if the identifier specified is already used in the document.
EARMARKGraphException
- if the docuverse specified was created using
different document.public XPathPointerRange createXPathPointerRange(java.net.URI id, Docuverse docuverse, java.lang.Integer begin, java.lang.Integer end, java.lang.String xpath) throws ExistingIdException, EARMARKGraphException
This method creates a new xpath pointer range between two location.
If, in the EARMARK document, a range with same begin and end locations, same docuverse, and same xpath expression exists, this method returns it.
id
- the identifier for the new range.docuverse
- the docuverse the range refers to.begin
- the begin location of the range.end
- the end location of the range.xpath
- the xpath expression to be considered.
ExistingIdException
- if the identifier specified is already used in the document.
EARMARKGraphException
- if the docuverse specified was created using
different document.public XPathPointerRange createXPathPointerRange(Docuverse docuverse, java.lang.Integer begin, java.lang.Integer end, java.lang.String xpath)
This method creates a new xpath pointer range between two location.
If, in the EARMARK document, a range with same begin and end locations, same docuverse and same xpath expression exists, this method returns it.
docuverse
- the docuverse the range refers to.begin
- the begin location of the range.end
- the end location of the range.xpath
- the xpath expression to be considered.
public Element createElement(Collection.Type type)
type
- the collection type associated to this markup item, that
must be Collection.LIST, Collectable.COLLECTABLE_BAG or
Collectable.COLLECTABLE_SET. If a different value is used, the current
value used is Collection.LIST.
public Element createElement(java.lang.String gi, Collection.Type type)
gi
- the general identifier associated to the element.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
public Element createElement(java.lang.String gi, java.net.URI ns, Collection.Type type)
gi
- the general identifier associated to the element.ns
- the namespace associated to the element.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
public Element createElement(java.net.URI id, java.lang.String gi, Collection.Type type) throws ExistingIdException
id
- the identifier for the element.gi
- the general identifier associated to the element.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public Element createElement(java.lang.String id, java.lang.String gi, Collection.Type type) throws ExistingIdException
This method returns a element.
When the id do not comply with the complete URL syntax (i.e., [protocol] + :// + domain + resource path), the id will be completed automatically with the path of the current document id. For instance, if the input id string is "p14" and the document id is the URI "http://www.example.com/mydocument", then the resulting id string considered by this method will be "http://www.example.com/mydocument" + SEPARATOR + "p14".
id
- the identifier for the element.gi
- the general identifier associated to the element.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public Element createElement(java.net.URI id, java.lang.String gi, java.net.URI ns, Collection.Type type) throws ExistingIdException
id
- the identifier for the element.gi
- the general identifier associated to the element.ns
- the namespace associated to the element.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public Element createElement(java.lang.String id, java.lang.String gi, java.net.URI ns, Collection.Type type) throws ExistingIdException
This method returns a element.
When the id do not comply with the complete URL syntax (i.e., [protocol] + :// + domain + resource path), the id will be completed automatically with the path of the current document id. For instance, if the input id string is "p14" and the document id is the URI "http://www.example.com/mydocument", then the resulting id string considered by this method will be "http://www.example.com/mydocument" + SEPARATOR + "p14".
id
- the identifier for the element.gi
- the general identifier associated to the element.ns
- the namespace associated to the element.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public Attribute createAttribute(Collection.Type type)
type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
public Attribute createAttribute(java.lang.String gi, Collection.Type type)
gi
- the general identifier associated to the attribute.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
public Attribute createAttribute(java.lang.String gi, java.net.URI ns, Collection.Type type)
gi
- the general identifier associated to the attribute.ns
- the namespace associated to the attribute.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
public Attribute createAttribute(java.net.URI id, java.lang.String gi, Collection.Type type) throws ExistingIdException
id
- the identifier for the attribute.gi
- the general identifier associated to the attribute.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public Attribute createAttribute(java.lang.String id, java.lang.String gi, Collection.Type type) throws ExistingIdException
This method returns an attribute.
When the id do not comply with the complete URL syntax (i.e., [protocol] + :// + domain + resource path), the id will be completed automatically with the path of the current document id. For instance, if the input id string is "p14" and the document id is the URI "http://www.example.com/mydocument", then the resulting id string considered by this method will be "http://www.example.com/mydocument" + SEPARATOR + "p14".
id
- the identifier for the attribute.gi
- the general identifier associated to the attribute.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public Attribute createAttribute(java.net.URI id, java.lang.String gi, java.net.URI ns, Collection.Type type) throws ExistingIdException
id
- the identifier for the attribute.gi
- the general identifier associated to the attribute.ns
- the namespace associated to the attribute.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public Attribute createAttribute(java.lang.String id, java.lang.String gi, java.net.URI ns, Collection.Type type) throws ExistingIdException
This method returns an attribute.
When the id do not comply with the complete URL syntax (i.e., [protocol] + :// + domain + resource path), the id will be completed automatically with the path of the current document id. For instance, if the input id string is "p14" and the document id is the URI "http://www.example.com/mydocument", then the resulting id string considered by this method will be "http://www.example.com/mydocument" + SEPARATOR + "p14".
id
- the identifier for the attribute.gi
- the general identifier associated to the attribute.ns
- the namespace associated to the attribute.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public Comment createComment(Collection.Type type)
type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
public Comment createComment(java.lang.String gi, Collection.Type type)
gi
- the general identifier associated to the comment.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
public Comment createComment(java.lang.String gi, java.net.URI ns, Collection.Type type)
gi
- the general identifier associated to the comment.ns
- the namespace associated to the comment.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
public Comment createComment(java.net.URI id, java.lang.String gi, Collection.Type type) throws ExistingIdException
id
- the identifier for the comment.gi
- the general identifier associated to the comment.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public Comment createComment(java.lang.String id, java.lang.String gi, Collection.Type type) throws ExistingIdException
This method returns a comment.
When the id do not comply with the complete URL syntax (i.e., [protocol] + :// + domain + resource path), the id will be completed automatically with the path of the current document id. For instance, if the input id string is "p14" and the document id is the URI "http://www.example.com/mydocument", then the resulting id string considered by this method will be "http://www.example.com/mydocument" + SEPARATOR + "p14".
id
- the identifier for the comment.gi
- the general identifier associated to the comment.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public Comment createComment(java.net.URI id, java.lang.String gi, java.net.URI ns, Collection.Type type) throws ExistingIdException
id
- the identifier for the comment.gi
- the general identifier associated to the comment.ns
- the namespace associated to the comment.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public Comment createComment(java.lang.String id, java.lang.String gi, java.net.URI ns, Collection.Type type) throws ExistingIdException
This method returns a comment.
When the id do not comply with the complete URL syntax (i.e., [protocol] + :// + domain + resource path), the id will be completed automatically with the path of the current document id. For instance, if the input id string is "p14" and the document id is the URI "http://www.example.com/mydocument", then the resulting id string considered by this method will be "http://www.example.com/mydocument" + SEPARATOR + "p14".
id
- the identifier for the comment.gi
- the general identifier associated to the comment.ns
- the namespace associated to the comment.type
- the collection type associated to this markup item. Possible values:
must be Collection.Type.Set, Collection.Type.Bag and Collection.Type.List.
ExistingIdException
- if the identifier specified is already used in the document.public java.util.Set<java.net.URI> getNamespaces()
public java.util.Set<java.lang.String> getGeneralIdentifiersFromNamespace(java.net.URI ns)
ns
- the namespace referred by the general identifier or null if you want to get all the general
identifiers of the markup items that do not have any namespace.
public java.net.URI hasId()
EARMARKItem
hasId
in interface EARMARKItem
public java.lang.String hasLocalId()
EARMARKItem
hasLocalId
in interface EARMARKItem
public EARMARKChildNode appendChild(EARMARKChildNode newChild) throws EARMARKGraphException
EARMARKHierarchicalNode
appendChild
in interface EARMARKHierarchicalNode
newChild
- the node to add.
EARMARKGraphException
- if newChild was created from a different document than the
one that created this node.protected EARMARKChildNode appendChild(EARMARKChildNode newChild, EARMARKHierarchicalNode node) throws EARMARKGraphException
newChild
- the node to add.node
- the node where to add the new child.
EARMARKGraphException
- if newChild was created from a different document than the
one that created this node.public EARMARKChildNode copyNode(EARMARKChildNode node, boolean deep)
This method copies to this document a node contained in another document.
Only items that are not already present in the document will be correctly copied. This means that an item, having identifier "ID" and belonging to a particular document, will be copied if and only if in the copying document does not exist any item having "ID" as identifier.
If the node to be copied is a range, its referred docuverse will be copied as well.
node
- the node to be copied.deep
- if true, the copy is applied recursively on all the children of the node, otherwise
the method copies the node definition only. When deep is true, it may occur of having an incomplete copy
of the input node: it will lack any descendant item that has an identifier in common with any of those
contained in the copying document.
public EARMARKNode cloneNode(boolean deep)
cloneNode
in interface EARMARKNode
deep
- if false, it corresponds to call the method clone(); if true, the document will be
cloned using the method clone() and then all the other items of the original document will be
copied to the cloned one.
public Collection getAttributes()
EARMARKHierarchicalNode
getAttributes
in interface EARMARKHierarchicalNode
protected Collection getAttributes(EARMARKNode node)
node
- the node we are asking for its attribute.
public Collection getComments()
EARMARKHierarchicalNode
getComments
in interface EARMARKHierarchicalNode
protected Collection getComments(EARMARKNode node)
node
- the node we are asking for its comments.
public Collection getChildElements()
EARMARKHierarchicalNode
getChildElements
in interface EARMARKHierarchicalNode
protected Collection getChildElements(EARMARKNode node)
node
- the node we are asking for its child elements.
public Collection getChildNodes()
EARMARKHierarchicalNode
getChildNodes
in interface EARMARKHierarchicalNode
protected Collection getChildNodes(EARMARKNode node)
node
- the node we are asking for its child nodes.
public EARMARKChildNode getFirstChild()
EARMARKHierarchicalNode
getFirstChild
in interface EARMARKHierarchicalNode
protected EARMARKChildNode getFirstChild(EARMARKHierarchicalNode node)
node
- the node we are asking for its first child.
public EARMARKChildNode getLastChild()
EARMARKHierarchicalNode
getLastChild
in interface EARMARKHierarchicalNode
protected EARMARKChildNode getLastChild(EARMARKHierarchicalNode node)
node
- the node we are asking for its last child.
protected EARMARKChildNode getNextSibling(EARMARKChildNode node)
node
- the node we are asking for its next sibling.
protected java.util.Set<EARMARKChildNode> getNextSiblings(EARMARKChildNode node)
node
- the node we are asking for its next siblings.
public EARMARKNode.Type getNodeType()
EARMARKNode
getNodeType
in interface EARMARKNode
public EARMARKDocument getOwnerDocument()
EARMARKNode
getOwnerDocument
in interface EARMARKNode
protected EARMARKHierarchicalNode getParentNode(EARMARKChildNode node)
node
- the node we are asking for the parent node.
protected java.util.Set<EARMARKHierarchicalNode> getParentNodes(EARMARKChildNode node)
node
- the node we are asking for the parent nodes.
protected EARMARKChildNode getPreviousSibling(EARMARKChildNode node)
node
- the node we are asking for the previous sibling.
protected java.util.Set<EARMARKChildNode> getPreviousSiblings(EARMARKChildNode node)
node
- the node we are asking for the previous siblings.
public java.lang.String getTextContent()
EARMARKNode
getTextContent
in interface EARMARKNode
protected java.lang.String getTextContent(EARMARKHierarchicalNode node)
node
- the node we are asking for the text content.
public java.lang.Object getUserData(java.lang.String key)
EARMARKNode
getUserData
in interface EARMARKNode
key
- the key the object is associated to.
protected java.lang.Object getUserData(EARMARKNode node, java.lang.String key)
node
- the node we are asking for the user data.key
- the key the object is associated to.
public boolean hasAttribute()
EARMARKHierarchicalNode
hasAttribute
in interface EARMARKHierarchicalNode
protected boolean hasAttribute(EARMARKNode node)
node
- the node we are asking for attributes.
public boolean hasChildNodes()
EARMARKHierarchicalNode
hasChildNodes
in interface EARMARKHierarchicalNode
protected boolean hasChildNodes(EARMARKNode node)
node
- the node we are asking for children.
public boolean hasElementNodes()
EARMARKHierarchicalNode
hasElementNodes
in interface EARMARKHierarchicalNode
protected boolean hasElementNodes(EARMARKNode node)
node
- the node we are asking for elements.
public EARMARKChildNode insertBefore(EARMARKChildNode newChild, EARMARKChildNode refChild) throws EARMARKGraphException
EARMARKHierarchicalNode
insertBefore
in interface EARMARKHierarchicalNode
newChild
- the node to insert.refChild
- the reference node, i.e., the node before which the
new node must be inserted.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] newChild or refChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of the node.public EARMARKChildNode insertBefore(EARMARKChildNode newChild, EARMARKChildNode refChild, int occurrence) throws EARMARKGraphException
EARMARKHierarchicalNode
insertBefore
in interface EARMARKHierarchicalNode
newChild
- the node to insert.refChild
- the reference node, i.e., the node before which the
new node must be inserted.occurrence
- the occurrence of the refChild to consider.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] newChild or refChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of the node.protected EARMARKChildNode insertBefore(EARMARKChildNode newChild, EARMARKChildNode refChild, EARMARKHierarchicalNode node) throws EARMARKGraphException
newChild
- the node to insert.refChild
- the reference node, i.e., the node before which the
new node must be inserted.node
- the parent node of refChild.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] node, newChild or refChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of node.protected EARMARKChildNode insertBefore(EARMARKChildNode newChild, EARMARKChildNode refChild, int occurrence, EARMARKHierarchicalNode node) throws EARMARKGraphException
newChild
- the node to insert.refChild
- the reference node, i.e., the node before which the
new node must be inserted.occurrence
- the occurrence of the refChild to consider.node
- the parent node of refChild.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] node, newChild or refChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of node.public boolean isEqualNode(EARMARKNode node)
This method checks if the document is equal to another node.
A document is equal to another node either if they are the same node (isSameNode) or if they are both EARMARK documents and their structures are equal (i.e., they contains equal nodes in the same hierarchical order).
isEqualNode
in interface EARMARKNode
node
- the node to compare equality with.
public boolean isStructurallyEqualNode(EARMARKNode node)
This method checks if the document is equal to another node.
A document is structurally equivalent to another node if they are both EARMARK documents and their structures are structurally equivalent (i.e., they contains structurally equivalent nodes in the same hierarchical order).
isStructurallyEqualNode
in interface EARMARKNode
node
- the node to compare equality with.
protected boolean hasBasicEquality(EARMARKNode n1, EARMARKNode n2)
n1
- former node.n2
- latter node.
protected boolean hasHierarchicalEquality(EARMARKHierarchicalNode node, EARMARKHierarchicalNode other, boolean lookForSameness)
node
- former node.other
- latter node.lookForSameness
- if true the comparison will involves the method isEqualNode, otherwise
just the structural equivalence will be considered.
public boolean isSameNode(EARMARKNode node)
EARMARKNode
isSameNode
in interface EARMARKNode
node
- the node to test against.
protected boolean isSameNode(EARMARKNode node, EARMARKNode other)
node
- former node.other
- latter node.
public EARMARKChildNode removeChild(EARMARKChildNode oldChild) throws EARMARKGraphException
EARMARKHierarchicalNode
removeChild
in interface EARMARKHierarchicalNode
oldChild
- the node being removed.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] oldChild was created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of node.public boolean removeDocuverse(Docuverse d) throws EARMARKGraphException
d
- the docuverse to remove.
EARMARKGraphException
- if d was created from a
different document than the one that created this node.protected EARMARKChildNode removeChild(EARMARKChildNode oldChild, EARMARKHierarchicalNode node) throws EARMARKGraphException
oldChild
- the node being removed.node
- the parent node of the removed one.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] oldChild was created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of node.public EARMARKChildNode removeAllChild(EARMARKChildNode oldChild)
EARMARKHierarchicalNode
removeAllChild
in interface EARMARKHierarchicalNode
oldChild
- the node being removed.
protected EARMARKChildNode removeAllChild(EARMARKChildNode oldChild, EARMARKHierarchicalNode node)
oldChild
- the node being removed.node
- the parent node of the removed one.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] node or oldChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of node.public EARMARKChildNode removeChildByOccurrence(EARMARKChildNode oldChild, int occurrence)
EARMARKHierarchicalNode
removeChildByOccurrence
in interface EARMARKHierarchicalNode
oldChild
- the node being removed.occurrence
- the node occurrence to remove.
protected EARMARKChildNode removeChildByOccurrence(EARMARKChildNode oldChild, int occurrence, EARMARKHierarchicalNode node)
oldChild
- the node being removed.node
- the parent node of the removed one.occurrence
- the node occurrence to remove.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] node or oldChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of node.public EARMARKChildNode replaceChild(EARMARKChildNode newChild, EARMARKChildNode oldChild) throws EARMARKGraphException
EARMARKHierarchicalNode
replaceChild
in interface EARMARKHierarchicalNode
newChild
- the new node to put in the child collection.oldChild
- the node being replaced in the collection.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] node, newChild or oldChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of node.protected EARMARKChildNode replaceChild(EARMARKChildNode newChild, EARMARKChildNode oldChild, EARMARKHierarchicalNode node) throws EARMARKGraphException
newChild
- the new node to put in the child collection.oldChild
- the node being replaced in the collection.node
- the oldChild parent.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] node, newChild or oldChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of node.public EARMARKChildNode replaceAllChild(EARMARKChildNode newChild, EARMARKChildNode oldChild) throws EARMARKGraphException
EARMARKHierarchicalNode
replaceAllChild
in interface EARMARKHierarchicalNode
newChild
- the new node to put in the child collection.oldChild
- the node being replaced in the collection.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] ewChild or refChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of the node.protected EARMARKChildNode replaceAllChild(EARMARKChildNode newChild, EARMARKChildNode oldChild, EARMARKHierarchicalNode node) throws EARMARKGraphException
newChild
- the new node to put in the child collection.oldChild
- the node being replaced in the collection.node
- the oldChild parent.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] node, newChild or oldChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of node.public EARMARKChildNode replaceChildByOccurrence(EARMARKChildNode newChild, EARMARKChildNode oldChild, int occurrence) throws EARMARKGraphException
EARMARKHierarchicalNode
replaceChildByOccurrence
in interface EARMARKHierarchicalNode
newChild
- the new node to put in the child collection.oldChild
- the node being replaced.occurrence
- the node occurrence to replace.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] node, newChild or refChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of node.protected EARMARKChildNode replaceChildByOccurrence(EARMARKChildNode newChild, EARMARKChildNode oldChild, int occurrence, EARMARKHierarchicalNode node) throws EARMARKGraphException
oldChild
- the node being replaced.occurrence
- the node occurrence to replace.node
- the oldChild parent.
EARMARKGraphException
- if [WRONG_DOCUMENT_ERR] node, newChild or oldChild were created from a
different document than this one or if [NOCHILD_ERR] refChild is not a child of node.public void setUserData(java.lang.String key, java.lang.Object data)
EARMARKNode
setUserData
in interface EARMARKNode
key
- the key to associate the object to.data
- the object to associate to the given key, or null to remove any
existing association to that key.protected void setUserData(java.lang.String key, java.lang.Object data, EARMARKNode node)
key
- the key to associate the object to.data
- the object to associate to the given key, or null to remove any
existing association to that key.node
- the node we are setting the data.public EARMARKChildNode adoptNode(EARMARKChildNode n)
This method adopts a node of another document in this one. The adoption is recursive: adopting a node 'n' means to adopt all the other descendant nodes of 'n'.
As for the method copyNode, only items that are not already present in the document will be correctly adopted. This means that an item, having identifier "ID" and belonging to a particular document, will be adopted if and only if in the adopting document does not exist any item having "ID" as identifier.If the node to be adopted is a range, its referred docuverse will be copied as well.
In case of success, all the adopted nodes will be removed from the original document.
n
- the node to adopt.
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static EARMARKDocument load(java.io.File file) throws java.io.FileNotFoundException
file
- the file containing the RDF/XML or Turtle representation of an
EARMARK document.
java.io.FileNotFoundException
- if the input file does not exist.public static EARMARKDocument load(java.lang.String content)
content
- the string containing the RDF/XML or Turtle representation of an
EARMARK document.
public static EARMARKDocument load(java.net.URL url)
url
- the URL of the document containing the RDF/XML or Turtle representation of an
EARMARK document.
public static EARMARKDocument load(com.hp.hpl.jena.rdf.model.Model model)
model
- the Jena model containing representation of an
EARMARK document.public boolean store(java.io.File file)
file
- the file in which the document will be stored.
public boolean store(java.io.File file, java.util.Map<java.lang.String,java.lang.String> prefixNsPairs)
file
- the file in which the document will be stored.prefixNsPairs
- a map of prefix-namespace pairs for mapping resource URIs.
public boolean store(java.io.File file, java.lang.String format)
file
- the file in which the document will be stored.format
- the format used as output, chosen among EARMARKWriter.N3, EARMARKWriter.TURTLE,
EARMARKWriter.RDFXML, EARMARKWriter.RDFXMLABBREV and EARMARKWriter.NTRIPLE.
public boolean store(java.io.File file, java.lang.String format, java.util.Map<java.lang.String,java.lang.String> prefixNsPairs)
file
- the file in which the document will be stored.format
- the format used as output, chosen among EARMARKWriter.N3, EARMARKWriter.TURTLE,
EARMARKWriter.RDFXML, EARMARKWriter.RDFXMLABBREV and EARMARKWriter.NTRIPLE.prefixNsPairs
- a map of prefix-namespace pairs for mapping resource URIs.
public java.lang.String getDocumentAsRDFXML()
public java.lang.String getDocumentAsTurtle()
public java.lang.String getDocumentAsRDFXML(java.util.Map<java.lang.String,java.lang.String> prefixNsPairs)
prefixNsPairs
- a map of prefix-namespace pairs for mapping resource URIs.
public java.lang.String getDocumentAsTurtle(java.util.Map<java.lang.String,java.lang.String> prefixNsPairs)
prefixNsPairs
- a map of prefix-namespace pairs for mapping resource URIs.
public com.hp.hpl.jena.rdf.model.Model getDocumentAsModel()
public java.lang.String toString()
toString
in class java.lang.Object
public com.hp.hpl.jena.rdf.model.Statement assertsAsObject(com.hp.hpl.jena.rdf.model.Resource subject, com.hp.hpl.jena.rdf.model.Property predicate)
EARMARKItem
assertsAsObject
in interface EARMARKItem
subject
- the resource subject of the statement.predicate
- the property predicate of the statement.
public com.hp.hpl.jena.rdf.model.Statement assertsAsSubject(com.hp.hpl.jena.rdf.model.Property predicate, com.hp.hpl.jena.rdf.model.RDFNode object)
EARMARKItem
assertsAsSubject
in interface EARMARKItem
predicate
- the property predicate of the statement.object
- the resource object of the statement.
public com.hp.hpl.jena.rdf.model.Statement assertsAsObject(EARMARKItem subject, com.hp.hpl.jena.rdf.model.Property predicate)
EARMARKItem
assertsAsObject
in interface EARMARKItem
subject
- the EARMARK item subject of the statement.predicate
- the property predicate of the statement.
public com.hp.hpl.jena.rdf.model.Statement assertsAsSubject(com.hp.hpl.jena.rdf.model.Property predicate, EARMARKItem object)
EARMARKItem
assertsAsSubject
in interface EARMARKItem
predicate
- the property predicate of the statement.object
- the EARMARK item object of the statement.
public java.util.Set<com.hp.hpl.jena.rdf.model.Statement> getAssertionsAsObject()
EARMARKItem
getAssertionsAsObject
in interface EARMARKItem
public java.util.Set<com.hp.hpl.jena.rdf.model.Statement> getAssertionsAsSubject()
EARMARKItem
getAssertionsAsSubject
in interface EARMARKItem
public java.util.Set<com.hp.hpl.jena.rdf.model.Statement> removeAllAssertions()
EARMARKItem
removeAllAssertions
in interface EARMARKItem
public com.hp.hpl.jena.rdf.model.Model getModel()
protected java.util.Set<com.hp.hpl.jena.rdf.model.Statement> removeAllAssertions(EARMARKItem item)
item
- the item related to the statements to remove.
protected com.hp.hpl.jena.rdf.model.Statement addAssertion(EARMARKItem subject, com.hp.hpl.jena.rdf.model.Property predicate, com.hp.hpl.jena.rdf.model.RDFNode object)
subject
- the EARMARK item subject of the statement.predicate
- the predicate property of the statement.object
- the object resource of the statement.
protected com.hp.hpl.jena.rdf.model.Statement addAssertion(com.hp.hpl.jena.rdf.model.Resource subject, com.hp.hpl.jena.rdf.model.Property predicate, EARMARKItem object)
subject
- the subject resource of the statement.predicate
- the predicate property of the statement.object
- the EARMARK item object of the statement.
protected com.hp.hpl.jena.rdf.model.Statement addAssertion(EARMARKItem subject, com.hp.hpl.jena.rdf.model.Property predicate, EARMARKItem object)
subject
- the EARMARK item subject of the statement.predicate
- the predicate property of the statement.object
- the EARMARK item object of the statement.
protected java.util.Set<com.hp.hpl.jena.rdf.model.Statement> getAssertionsAsObject(EARMARKItem ei)
ei
- the EARMARK item object of the statements.
protected java.util.Set<com.hp.hpl.jena.rdf.model.Statement> getAssertionsAsSubject(EARMARKItem ei)
ei
- the EARMARK item subject of the statements.
public EARMARKDocument clone()
clone
in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Award for Meath woman Mary Davitt
by Conall CollierMeath woman Mary Davitt was today honoured at ‘Volunteers in Sport Awards’
Meath woman Mary Davitt was honoured when she received the Meath sports volunteer of the year award for her commitment to Navan Arch Club and Special Olympics Ireland.
The award was presented by Minister of State for Tourism and Sport, Brendan Griffin TD.
The Federation of Irish Sport awards celebrated the 450,000 volunteers contributing to sport in clubs and communities across
Ireland
Recognised were volunteers from each county, an ‘outstanding contribution’ award and a ‘team of volunteers’ at the awards ceremony


BUGBUSTERS
a review of "Men in Black"
"Men in Black", this summer's wildly anticipated, big-budget offering from Amblin Entertainment and Barry ("The Addams Family") Sonnenfeld, is a very entertaining (if somewhat familiar) genre picture that aims to please and does so consistently. Will Smith plays James Edwards, a New York cop who stumbles across "level 6 agents of the INS" while attempting to apprehend what he thinks is an ordinary felon. It turns out (as it has in "Stargate", "ID4" and many episodes of "The X-Files", I imagine) that the Roswell cover-ups were indeed real and all of those UFO stories that we've heard over the years are true. In fact, aliens are still visiting Earth, and the main job of those who become the Men in Black is to monitor the aliens who are kept hidden on Earth and make sure that their existence remains undetected by the general public. "It's just like 'Casablanca'", says Smith's mentor K (played by Tommy Lee Jones), "except without the Nazis". Much of the feel of this film is similar to "Ghostbusters" in its pre- mise of a fantastic extraterrestrial subculture within the framework of a cas- ual, everyday job. The film is at its best when milking that contrast for laughs, often depicting the aliens as having little patience with humanity's persistently backward ways. The audience is introduced to the world and its characters, as well as the antagonist who wishes to bring about the end of the world (again, similar to "Ghostbusters"). Herein lies the main weakness of the script, as much of the climactic showdown between the villain (whose main mo- tivation seems to be to cause destruction in that movie-villain way) and our heroes is not so much a climax as another event in the film -- a plateau rather than an inspired capper. The film is so much fun, peppered with plenty of funny, smart dialogue, that it's a shame that the final sequence isn't one of the stronger gags in the film (as the marshmallow man was in "Ghostbusters"). Still, Lowell Cunningham & Ed Solomon's script is well structured aside from these problems, with clear set-ups which pay off pleasantly later. Predicta- bility is also a problem, but not to a point where it sinks the film. It simp- ly makes it less surprising than it could have been. It's clear that everyone involved here was enthusiastic about the pro- ject, and to its benefit all of the elements were mixed in good proportion to one another. Computer animation, make-up, practical and miniature effects are all used in concert here (each to its respective strength), and the results are exceptional. Kudos to the various effects teams for some terrific work! Danny Elfman has whipped up an especially versatile score for this picture, brash and agressive at times, subdued and tense at others. Jones and Smith (even the anonymity of their names seems intentional) work very well together here; rather than attempt to out-act each other, Jones plays the straight man (along with Rip Torn, who echoes a similar role in "Defending Your Life") to the film's loopiness. Both make the most of their roles and successfully cre- ate nicely contrasting characters. When the villain snatches a cab for his getaway, Smith bolts for the street, frantically searching amidst a sea of taxis, while Jones calmly descends the stairs toward their own car. Linda Fi- orentino plays Dr. Weaver (a morgue doctor who gets caught up in the proceed- ings) with her usual panache that has served her well elsewhere and makes her stand out in an otherwise limited role. It's a shame that she has little else to do but lay the foundation of the upcoming sequel franchise (what will they call the sequel? "People in Black"?). Vincent D'Onofrio is also quite unnerv- ing yet hilarious as the disguised alien antagonist, who nicely communicates the qualities of one who is clearly not used to a human form. Bo Welch contin- ues the visual snap he has brought to many of Tim Burton's films with produc- tion design that is beautiful, but with a sense of fun that compliments the picture. A design highlight is MIB headquarters, a silver-and-white spoof of sixties spy pop. This is clearly Sonnenfeld's best picture to date, one where the excep- tional efforts of a strong team help to offset the formulaic structure of a genre picture. How can you not like a film where an alien race apologizes for starting the process of Earth's destruction? With a terrific final shot. Recommended.
--
- Jeff "When I'm Finished With You, They'll Be Stumbling Over YOU In The Dark" Pidgeon
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


ManuelsUno is a professional card counting, statistics and analysis system for the famous UNO card game. Reduce the unpleasant, time consuming and error-prone recording and calculating of points by utilizing the power of the cloud.
Your most up-to-date scores and stats are just a glance away. Let the cloud randomize your sitting order and parallelize point recording by letting the individual players record their own points on their cell phones.
Enjoy what UNO is all about, a great time with your friends!


Eye of the Beholder (1/2* out of ****) Starring Ewan McGregor, Ashley Judd Directed By Stephan Elliot Destination Films, Rated R, 2000 Running Time: 1 Hour 49 Minutes
by Sean Molloy
[MEDIUM SPOILERS]
I should have known, damn it, I should have known.  We get the requisite electro-green through-the-sight view. We the audience, seeing a high tech rifle-ly gadget, of course think that Eye is going to assassinate the target, but instead, he pulls the trigger and the rifle takes twenty or so hazy, low-quality photographs, which Eye then proceeds to fax and e-mail to everyone in his target's office. All right, so thirty seconds in, I was slightly befuddled by this seemingly pointless rifle/camera, but I was still open minded... maybe there's a really good reason for it. I've got reason to believe, you see - I admire a lot of Ewan McGregor's previous work... and he's Obi Wan Ke- friggin-nobi for God's sake. And director Stephan Elliot's last movie Priscilla, Queen of the Desert was a quirky little delight. There's some genuine talent involved here.
I think at the twenty minute mark, there was still a spark of hope in my heart. Eye has been assigned to investigate the leader of his organization's son (I still have no idea what this organization was - British intelligence? National Spy Ring? Private investigation?), who is apparently stealing from his trust fund. He has received his assignment from k.d. lang, through an elaborate and expensive teleconferencing briefcase.  OK, that's odd, I think to myself, this could be interesting. Then she starts to cry, and through her tears exclaims "Merry Christmas, dad!" for the first time.
So begins our tale of obsession... or... something.
The rest of the movie involves Ewan McGregor's Eye character following Ashley Judd around to every corner of the United States, totally and completely obsessed by this woman from afar. Throughout his entire professional life, he has been a voyeur; so when he falls for someone, the only way he can handle it is to watch and drool through telescopes and cameras. Fine, that's a lovely premise, I suppose. But gosh darn it, if you're going to go there, you better have some sort of explanation. And that's precisely where this film fails.
This is the kind of movie that pisses me off. It's an abortion, a collection of half-formed and wasted ideas that amounts to absolutely nothing in the end. It pretends it is something that it is not - a surreal and deep psychological character study wrapped in a high-tech thriller. Here, the filmmakers have confused "surreal" and "deep" with "vaguely unclear" and "crammed full of insultingly obvious metaphors."
I never, even for an instant, had the foggiest idea why Eye would fall so in "love" with this woman who changes wigs and kills people. The movie offers only two explanations, neither of which make a lick of sense. Explanation Number One: The obnoxious presence of Eye's imaginary daughter, who was taken away from him by his wife some time ago, tells him he shouldn't leave Ms. Judd. Explanation Two, which by the end of the film has been beaten into our heads through imagery and dialog and even the title of the movie: "Beauty is in the eye of the beholder." Whoo hoo, that helps, thanks a bunch, case closed. That's as deep as it gets, folks. There is an attempt at an explanation in the final minutes, which, instead of tying everything together, ends up being as profound as a clever sixth-grade Mad Lib.
There are secondary characters that move in and out of the picture and serve little or no purpose except to make the audience wonder what the hell the point was. My personal favorites include: the prison-matron modeled after Austin Powers' Frau Farbissina, who apparently taught Ms. Judd everything she knows about wearing wigs; Jason Priestley's awfully played Dirty Desert Vagrant #1, who tries to emulate Dennis Hopper a la Blue Velvet, but fails miserably; and the cop-who-sees-Ashley-fleeing-an-accident-scene-and- then-wants-to-pay-for-sex- but-is-shot. Each one in this sad little parade is a little more pointless than the last.
The script pays no attention to the laws of time and space. Any time one of the frequent location changes occurs, the camera zooms in on a souvenir snow globe, and minutes, weeks, or years could have passed. Bewilderingly inane stylistic decisions plague the whole affair - one character passes a glass of cognac to another in a slow-motion close-up awash in a lot of bass. Ewan McGregor at one point takes up residence in a bell tower just so he could be repeatedly awakened and deafened by the giant bell. Jason Priestly starts philosophizing about sharks, then laughs maniacally... cut to random guy with eye patch... iguana out of focus... iguana comes into focus. Wow, man.
When I found out afterward that this film was based on a novel, it came as no surprise to me. There are plenty of elements here that, if extended and fleshed out more, would have made for a decent story. And I wouldn't be surprised if I found out there was an hour and a half of footage cut from this movie lying in a landfill somewhere, or waiting in the wings for the DVD Special Director's Cut... Not that anything would ever possess me to purchase such a thing to find out what I was missing.
The last ten or so minutes featured a conversation between the Eye and the Judd that was supposed to be some sort of revealing exposition. Some guy in the back of the theater was talking on his cell phone, and this time I didn't particularly care all that much because what was happening on the screen was a steaming pile of unholy crap; the audience around me chuckled and whispered sentiments similar to what I was thinking. Someone near cell-phone-guy did eventually yell, "Shut the hell up!", but it was a lot funnier when we thought he was talking to the screen.
_____________ Media Junkies - Movie reviews, music, books, games, and more. http://www.mediajunkies.com Contact<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


--- layout: post title: Headspring is Ready to Rock! categories: - Bonus! status: publish type: post published: true meta: _edit_last: '23' _aioseop_keywords: CodeMash _aioseop_description: Our team members Jimmy Bogard and Sharon Cichelli will be leading sessions at CodeMash. _aioseop_title: Headspring is Ready to Rock! dsq_thread_id: '' _yoast_wpseo_linkdex: '0' _podPressPostSpecific: a:6:{s:15:"itunes:subtitle";s:15:"##PostExcerpt##";s:14:"itunes:summary";s:15:"##PostExcerpt##";s:15:"itunes:keywords";s:17:"##WordPressCats##";s:13:"itunes:author";s:10:"##Global##";s:15:"itunes:explicit";s:7:"Default";s:12:"itunes:block";s:7:"Default";} _yoast_wpseo_focuskw: '' _yoast_wpseo_meta-robots-noindex: '0' _yoast_wpseo_meta-robots-nofollow: '0' _yoast_wpseo_meta-robots-adv: none _yoast_wpseo_sitemap-include: ! '-' _yoast_wpseo_sitemap-prio: ! '-' _yoast_wpseo_canonical: '' _yoast_wpseo_redirect: '' _yoast_wpseo_opengraph-description: '' _yoast_wpseo_google-plus-description: '' ---
What event sells out as fast as a Justin Beiber concert? CodeMash! Last year’s CodeMash conference sold out in 22 minutes. Bieber actually sold his entire North American tour in that time, but why mince words?
We are excited to get together with developers from across the country for CodeMash 2013 being held January 8 – 11, 2013 in Sandusky, Ohio. The conference is filled with information about updated practices, methodologies, and technology trends in a variety of platforms and development languages. There are terrific keynote speakers, workshops, time to geek out with fellow attendees and talk “code”, and possibly take a dip in Ohio’s largest indoor waterpark.
Our team members Jimmy Bogard and Sharon Cichelli will be leading sessions at CodeMash. Sharon will present “Hello, Arduino: Write Code that Interacts with the Real World” and Jimmy will be involved in the PreCompiler workshop.
Jimmy is also on his own world tour. He is speaking at various international locations over the next three months beginning on December 4, 2012 in London, England where he’ll talk about “Real World Polyglot Persistence”. Check out other scheduled events below:
Attending any of these conferences? We look forward to meeting you!
Have an event where you’d like us to present? Let’s talk!


|
Solar
|
Filters a set of matches based on geometric constraints. UUID: 3731691e-2c4c-4d37-a2ce-06d1918f8d41
More...
#include <SolARGeometricMatchesFilterOpencv.h>
Public Member Functions | |
| SolARGeometricMatchesFilterOpencv () | |
| SolARGeometricMatchesFilterOpencv constructor. | |
| ~SolARGeometricMatchesFilterOpencv () | |
| SolARGeometricMatchesFilterOpencv destructor. | |
| void | filter (const std::vector< datastructure::DescriptorMatch > &inputMatches, std::vector< datastructure::DescriptorMatch > &outputMatches, const std::vector< datastructure::Keypoint > &inputKeyPointsA, const std::vector< datastructure::Keypoint > &inputKeyPointsB) override |
| filter matches based fundamental matrix assumptions. This filter removes all outliers matches which give high reprojection error. More... | |
| virtual void | filter (const std::vector< datastructure::DescriptorMatch > &inputMatches, std::vector< datastructure::DescriptorMatch > &outputMatches, const std::vector< datastructure::Keypoint > &inputKeyPoints1, const std::vector< datastructure::Keypoint > &inputKeyPoints2, const datastructure::Transform3Df &pose1, const datastructure::Transform3Df &pose2, const datastructure::CamCalibration &intrinsicParams) override |
| filter matches based fundamental matrix calculated from camera matrices More... | |
| void | unloadComponent () override final |
Filters a set of matches based on geometric constraints. UUID: 3731691e-2c4c-4d37-a2ce-06d1918f8d41
| confidence | The desirable level of confidence (propability) that the estimated matrix is correct. |
| type: float; range : [0..1]; default: 0.99f | |
| outlierDistanceRatio | Here we are using a RANSAC method to keep only inliers matches. This attribute is the ratio between the maximum distance in pixels between source points and the maximum distance in pixels to the epipolar line for which point is considered as a outlier. The higher is this ratio, the more you will keep inliers to estimate your 2D transform, but the less this estimation will be correct. By default, this value is set to the one proposed by [Snavely07 4.1] |
| type: float; range : [0..MAX FLOAT]; default: 0.006f | |
| epilinesDistance | threshold to valid matches based on distance to epilines |
| type: float; range : [0..MAX_FLOAT]; default: 10.f |
|
overridevirtual |
filter matches based fundamental matrix calculated from camera matrices
| [in] | Original | matches found between two descriptors "desc_1" and "desc_2". |
| [out] | Filtred | matches based on geometric relations such as epipolar constraint. |
| [in] | Original | keypoints associated to desc_1. |
| [in] | Original | keypoints associated to desc_2. |
| [in] | camera | pose 1. |
| [in] | camera | pose 2. |
| [in] | camera's | intrinsic parameters. |
|
override |
filter matches based fundamental matrix assumptions. This filter removes all outliers matches which give high reprojection error.
| [in] | Original | matches found between two descriptors "desc_1" and "desc_2". |
| [out] | Filtred | matches based on geometric relations such as epipolar constraint. |
| [in] | Original | keypoints associated to desc_1. |
| [in] | Original | keypoints associated to desc_2. |


[gecode-users] Memory problem
Guido Tack
tack at ps.uni-sb.de
Thu Aug 28 13:06:08 CEST 2008
Gustavo Gutierrez wrote:
> On Thu, Aug 28, 2008 at 9:20 AM, Guido Tack <tack at ps.uni-sb.de> wrote:
> I tried to find out more about the Mac OS malloc.
>
> Apparently, Mac OS never frees blocks that are smaller than 15359
> bytes, but rather tries to reuse them for further mallocs in the
> same process.
> http://kevin.sb.org/2007/07/05/malloc-free-space-not-reclaimed/
>
> I tried replacing malloc with ptmalloc3 (as suggested in that
> article), and it completely solves the problem.
>
> Now I am wondering if the same problem can occur when using gecode
> in the *normal* way, i mean, with gecode search engines as in the
> examples. Any comment?
That's unlikely. The problem is that the memory footprint is going to
be the maximum memory used by spaces that are alive at the same time.
In your example, that's tens of thousands of spaces. During search,
it's never more than a few spaces (search tree depth / recomputation
depth). If the tree depth is very big, you're lost anyway as the
search is not going to find a solution.
Cheers,
Guido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20080828/f7f0196b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2436 bytes
Desc: not available
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20080828/f7f0196b/attachment.bin>
More information about the gecode-users
mailing list


{% extends "valet_keys/base.html" %} {% block intro %}{{ _("Valet Keys: Your Keys" | safe) }}{% endblock %} {% block subcontent %}
{% trans %} These are your valet keys. They're useful for building applications that perform tasks on your behalf. If you have stopped using any of them, or suspect one has been exposed to parties you don't trust with your account, click the
to delete the key. It's easy to create a replacement key at any time. {% endtrans %} {% if not keys %}{{ _("You have no valet keys, yet.") }}
{% else %}| Actions | Created at | Description |
|---|---|---|
| {{ _('History ({count})') | fe(count=key.history.count()) }} {% if not key.is_disabled %} {{ _('X') }} {% endif %} | {{ key.created }} | {{ key.description }} |


Hi everyone!
I am the happy owner of a RFM12pi: I want to make a wireless hygrometer.
I just unboxed the little thing and, if I've understood correctly from your schemes (http://wiki.openenergymonitor.org/index.php?title=RFM12Pi_V2) it should use 10 pins from my Raspberry PI, including all its 5.0v pins.
Can I simply put the RFM12pi on a breadboard with correct wiring (I have this: http://www.adafruit.com/products/1105) and use my 5.0v for my temperature sensor and a led or I risk to damage the RFM12pi and/or the Pi itself?
Thanks for your time and patience :)
Re: RFM12pi installation with Adafruit Breakout Cobbler will use all my power?
Have another look at the page you linked to.
If you scroll down the page to the "Design Files & Referance(sic)" you can see which pins the RFM12pi is actually using rather than just blocking.
The easiest way is to look at the second image and the top part labeled "Raspberry_Pi", although the diagram is reversed to check the pin number position with the first diagram.
Both show that the board isn't using pins 1&3 which are the Raspberry Pi's two 5v pins).
Re: RFM12pi installation with Adafruit Breakout Cobbler will use all my power?
Hello and thanks for your time!
I am investigating further but I don't get what you say.
100% because of my poor schematic reading skills...
I've tried looking close in this pic (from the rfm12pi inventor):
http://harizanov.com/wp-content/uploads/2013/02/IMG_1900.jpg
But I clearly see that upper 10 pins on the raspberry GPIO are occupied by the rfm12pi and therefore (http://www.megaleecher.net/sites/default/files/images/raspberry-pi-rev2-...) my 3.3v and 5.0v pins should be covered by the rfm12pi...
From your previous answer I understand that it shouldn't be this way...
What am I missing?
Re: RFM12pi installation with Adafruit Breakout Cobbler will use all my power?
The RFP12Pi uses a connector that occupies the first 10 pins as it gives the board some stability and because it is easier than just having connectors to the pins it needs. (probably also cheaper)
But on the diagram I suggested you looked at you'll see this.
So when you plug your Cobbler into the Pi the connections you need to make on the breadboard to the RFM12Pi board are pins 2,5,7,8,9,10. (the ones where there is a connection to something labeled)
Which will leave pins 1&3 (as well as 4&6) free.
Re: RFM12pi installation with Adafruit Breakout Cobbler will use all my power?
My poor english wasted your time and didn't help me to get your suggestion :)
I wanted to mean that without using the cobbler I'd be forced to use all those pins.
Using cobbler and breadboard the pins are free...
Forgive me for wasting your time and thank you for your patience :)


--- layout: page title: Lean Prover Zulip Chat Archive permalink: archive/116395maths/01813finitelygeneratedsubmodule.html ---
It's a little weird that fg
is defined for a submodule and not just a module. It's sort of like compact subset vs compact space--a finitely generated submodule is just a submodule which is finitely generated as a module.
Is this worth changing or possibly having both versions?


Target people in Accra
Post more between 1pm – 2pm
Cross Promote with Keexs Shoes
Post less Promotional content
{% extends 'base.html' %} {% block body %}
Target people in Accra
Post more between 1pm – 2pm
Cross Promote with Keexs Shoes
Post less Promotional content


Poster Board Dimensions:
Authors presenting via poster boards are to be informed that poster boards are 110 cm height and 70 cm width.
Best Paper Award:
Two best paper awards will be conferred to author(s) of the papers that receive the highest rank during the peer-review and by the respected session chairs. Please visit Paper Submission for more information.
Become a Sponsor or an Exhibitor
ICSECT attracts a wide range of researchers in the field of Structural Engineering and Concrete Technology. As a prominent company in the field of Structural Engineering and Concrete Technology, we would like to offer you an exhibit at ICSECT. Please visit Sponsors for more information.


|
Date |
Time/Place |
Event |
Program/Etc. |
|
MARCH |
2013 |
|
|
Sat., Mar. 2 |
9:00 a.m.
Hen House Cafe
53 Palmer Lake Dr.
c/s S. Joe Martinez Blvd. |
Ham Radio Ragchew - Meet for Dutch Treat
coffee or breakfast.
|
All those interested in Ham Radio are
invited to join us, whether or not they are members of our club. |
|
Sat., Mar. 9 |
2:00 p.m.
Pueblo West Library
298 S. Joe Martinez Blvd. |
PWARC Meeting |
|
|
APRIL |
2013 |
|
|
Sat., April 6 |
9:00 a.m.
Hen House Cafe
53 Palmer Lake Dr.
c/s S. Joe Martinez Blvd. |
Ham Radio Ragchew - Meet for Dutch Treat
coffee or breakfast.
|
All those interested in Ham Radio are
invited to join us, whether or not they are members of our club. |
|
Sat., Apr.13 |
2:00 p.m.
Pueblo West Library
298 S. Joe Martinez Blvd. |
PWARC Meeting |
|
|
MAY |
2013 |
|
|
Sat., May 4 |
9:00 a.m.
Hen House Cafe
53 Palmer Lake Dr.
c/s S. Joe Martinez Blvd. |
Ham Radio Ragchew - Meet for Dutch Treat
coffee or breakfast.
|
All those interested in Ham Radio are
invited to join us, whether or not they are members of our club. |
|
Sat., May 11 |
2:00 p.m.
Pueblo West Library
298 S. Joe Martinez Blvd. |
PWARC Meeting |
|
TENTATIVE
Steve Galchutt, WG0AT, from Monument and his
two pack goats, Rooster and Peanut. Steve will talk about mountain
topping using QRP. |
|
|
JUNE |
2013 |
|
|
Sat., June 1 |
9:00 a.m.
Hen House Cafe
53 Palmer Lake Dr.
c/s S. Joe Martinez Blvd. |
Ham Radio Ragchew - Meet for Dutch Treat
coffee or breakfast.
|
All those interested in Ham Radio are
invited to join us, whether or not they are members of our club. |
|
Sat., June 8 |
2:00 p.m.
Pueblo West Library
298 S. Joe Martinez Blvd. |
PWARC Meeting |
|
|
Sat. & Sun.
June 22 & 23 |
TBA |
ARRL Field Day |
TBA |
|
Fri.-Sun., June 28-30 |
Estes Park, CO |
ARRL Rocky Mountain Division Convention |
www.hamconcolorado.org
/wordpress/ |
|
JULY |
2013 |
|
|
Sat., July 6 |
9:00 a.m.
Hen House Cafe
53 Palmer Lake Dr.
c/s S. Joe Martinez Blvd. |
Ham Radio Ragchew - Meet for Dutch Treat
coffee or breakfast.
|
All those interested in Ham Radio are
invited to join us, whether or not they are members of our club. |
|
Sat., July 13 |
2:00 p.m.
Pueblo West Library
298 S. Joe Martinez Blvd. |
PWARC Meeting |
|
|
AUGUST |
2013 |
|
|
Sat., Aug. 3 |
9:00 a.m.
Hen House Cafe
53 Palmer Lake Dr.
c/s S. Joe Martinez Blvd. |
Ham Radio Ragchew - Meet for Dutch Treat
coffee or breakfast.
|
All those interested in Ham Radio are
invited to join us, whether or not they are members of our club. |
|
Sun., Aug. 4 |
The prime operating hours are from approximately
9 AM to noon local time (1500 to 1800 UTC), but activity may occur at
other times during the day. |
Colorado 14er Event |
http://www.14er.org/ |
|
Sat., Aug. 10 |
2:00 p.m.
Pueblo West Library
298 S. Joe Martinez Blvd. |
PWARC Meeting |
|
|
SEPTEMBER |
2013 |
|
|
Sat., Sept. 7 |
9:00 a.m.
Hen House Cafe
53 Palmer Lake Dr.
c/s S. Joe Martinez Blvd. |
Ham Radio Ragchew - Meet for Dutch Treat
coffee or breakfast.
|
All those interested in Ham Radio are
invited to join us, whether or not they are members of our club. |
|
OCTOBER |
2013 |
|
|
Sat., Oct. 5 |
9:00 a.m.
Hen House Cafe
53 Palmer Lake Dr.
c/s S. Joe Martinez Blvd. |
Ham Radio Ragchew - Meet for Dutch Treat
coffee or breakfast.
|
All those interested in Ham Radio are
invited to join us, whether or not they are members of our club. |
|
NOVEMBER |
2013 |
|
|
Sat., Nov. 2 |
9:00 a.m.
Hen House Cafe
53 Palmer Lake Dr.
c/s S. Joe Martinez Blvd. |
Ham Radio Ragchew - Meet for Dutch Treat
coffee or breakfast.
|
All those interested in Ham Radio are
invited to join us, whether or not they are members of our club. |
|
DECEMBER |
2013 |
|
|
Sat., Dec. 7 |
9:00 a.m.
Hen House Cafe
53 Palmer Lake Dr.
c/s S. Joe Martinez Blvd. |
Ham Radio Ragchew - Meet for Dutch Treat
coffee or breakfast.
|
All those interested in Ham Radio are
invited to join us, whether or not they are members of our club. |


{% extends "base.html" %} {% block title %}Home — {{ service_name }}{% endblock %} {# hide user area in navbar #} {% block navbar_userarea %} {% if current_user.is_authenticated %} {{ super() }} {% endif %} {% endblock %} {% block content %}
Warning: This installation of {{ service_name }}, the sample and measurement metadata database, is still under active development. While we try to keep everything running smoothly, the system may be offline for several minutes when it is updated. If you have further questions or encounter any issues, please let us know. Thank you!
Warning: This is a preview installation of {{ service_name }}, the sample and measurement metadata database at PGI / JCNS. It is used for development, may be offline at any time and the data will be deleted!
{{ service_description }}


{% elif user.is_authenticated and isItPrivate and is_encrypted and not user.username == recipient.username %}
You cannot view this message as you are not the recipient of this encrypted private message.
{% elif not user.is_authenticated and isItPrivate and is_encrypted and user.username == recipient.username %}
Please authenticate to see this encrypted message
{% endif %}
{% endblock %}


Select Machine number
Machine 1
Machine 2
Machine 3
Machine 4
Machine 5
Machine 6
Machine 7
Machine 8
Leak Test Status For selected Machine
Average of Water and Oil Leaks of selected Machine
Select Machine number
Machine 1
Machine 2
Machine 3
Machine 4
Machine 5
Machine 6
Machine 7
Machine 8
yet to add
Oil and Water Leak Rates
yet to add


I love finding challenging software engineering problems, breaking them down in smaller ones and
solutioning them in a way that it is easy to comprehend the solution.
Strongly believe in writing a readable, testable, scalable and maintainable code and would prefer it
over complexity any day.
I have years of experience in designing, developing and deploying multiple products and services.
Although my core competencies lies in designing and building scalable back-end, I actively
work with UI and UX developers to build a wholesome product for end-users.
I enjoy mentoring and shaping young brilliant minds and consider this a inherent responsibility of a
any software developer.
Do you have a complex software engineering problem or an innovative product to build? I would love
to hear about
it and help out to the best of my ability.
Responsible for managing Software Engineering efforts. Design and Deployment of new features of the products. Looks after the scaling and maintainability of the products and leads a team developers to add value to end-users.
Qube Wire is a self-service, single-window system for global theatrical distribution. With a simple but comprehensive user interface, distributors can manage their digital cinema assets, assign territorial rights for their content and have their Digital Cinema Packages (DCPs) and keys (aka Key Delivery Messages or KDMs) delivered to movie theatres across the world. Theatres can manage their own digital cinema device details and access their Universal Inbox on the Qube Wire service as well.
View Project
Justickets is a smart, modern and intuitive online platform that helps fans buy tickets for
movies in several cities across India. In addition to ticket sales aggregation, Justickets gives
users the power of information. Thanks to integration with Moviebuff, India’s largest database
of movies releasing in the country, Justickets gives moviegoers access to reviews, ratings,
movie information as well as the latest trailers, posters and trivia, making the process of
buying tickets online more fun and meaningful.
Justickets is available across platforms: on web, mobile and tablet, allowing users to purchase
tickets from wherever they are - the experience of buying tickets is no longer restricted to the
box office or home computer.


Selecting tutorial
- To chose tutorial click on the "Tutorials" button in the navigation. You will see a dialog box, inside its content
you will be able to preview all different tutorials.
- Each tutorial has name, description, level and tags. The easiest tutorials are with
one star for their level, the most complex tutorials are with three stars.
- Using the search bar you can filter the tutorials.
- When you chose a tutorial just click on it and its first step will be opened.
Solving tutorial
To complete the tutorial read the required steps in the bottom-left corner, write JavaScript in the top-left corner and HTML in the top-right one.
The result will be visualized in the bottom-right corner.
UI features
- If you want to make any of the text boxes for HTML or JavaScript wider just click on its content.
- In order to change the theme to dark use the black box, left from the "Help" button. To restore to the previous theme use the white box.
Have fun!