Lines Matching defs:content
50 private final List content;
55 * @param content a list of one or more {@link XMLStructure}s. The list
60 * @throws ClassCastException if <code>content</code> contains any
62 * @throws IllegalArgumentException if <code>content</code> is empty
63 * @throws NullPointerException if <code>content</code> or
66 public DOMSignatureProperty(List content, String target, String id) {
69 } else if (content == null) {
70 throw new NullPointerException("content cannot be null");
71 } else if (content.isEmpty()) {
72 throw new IllegalArgumentException("content cannot be empty");
74 List contentCopy = new ArrayList(content);
78 ("content["+i+"] is not a valid type");
81 this.content = Collections.unmodifiableList(contentCopy);
108 List content = new ArrayList(length);
110 content.add(new javax.xml.crypto.dom.DOMStructure(nodes.item(i)));
112 if (content.isEmpty()) {
113 throw new MarshalException("content cannot be empty");
115 this.content = Collections.unmodifiableList(content);
120 return content;
142 // create and append any elements and mixed content
143 for (int i = 0, size = content.size(); i < size; i++) {
145 (javax.xml.crypto.dom.DOMStructure) content.get(i);
171 if (content.size() != osize) {
176 XMLStructure xs = (XMLStructure) content.get(i);