|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.Vector
com.hp.hpl.deli.Profile
This class is a representation of a CC/PP profile as a Vector of ProfileAttribute.
Nested Class Summary |
Nested classes inherited from class java.util.AbstractList |
|
Field Summary | |
private java.util.HashMap |
attributeNameToAttributePosition
A map to relate the attribute name to the attribute position(s) in the profile. |
private static long |
serialVersionUID
Comment for serialVersionUID |
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
Profile(javax.servlet.http.HttpServletRequest request)
Create a new profile from a HTTP Request. |
|
Profile(java.lang.String resource)
Create a new profile from a resource. |
Method Summary | |
private void |
finishConstruction(java.util.Vector unresolved)
This finishes construction by applying the resolution rule to any duplicate attributes. |
ProfileAttribute |
getAttribute(com.hp.hpl.jena.rdf.model.Resource attributeName)
Retrieve a profile attribute with a specific name. |
ProfileAttribute |
getAttribute(java.lang.String attributeName)
Retrieve a profile attribute with a specific name. |
java.lang.String |
toString()
Converts the object to a String. |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Field Detail |
private static final long serialVersionUID
serialVersionUID
private java.util.HashMap attributeNameToAttributePosition
Constructor Detail |
public Profile(java.lang.String resource)
resource
- The resource representing a profile.public Profile(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request.Method Detail |
private void finishConstruction(java.util.Vector unresolved)
public ProfileAttribute getAttribute(com.hp.hpl.jena.rdf.model.Resource attributeName)
attributeName
- The attribute qname.
public ProfileAttribute getAttribute(java.lang.String attributeName)
attributeName
- the UNQUALIFIED attribute name (ie just the fragment)
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |