Lines Matching refs:properties
49 private final List properties;
55 * @param properties a list of one or more {@link SignatureProperty}s. The
59 * @throws ClassCastException if <code>properties</code> contains any
61 * @throws IllegalArgumentException if <code>properties</code> is empty
62 * @throws NullPointerException if <code>properties</code>
64 public DOMSignatureProperties(List properties, String id) {
65 if (properties == null) {
66 throw new NullPointerException("properties cannot be null");
67 } else if (properties.isEmpty()) {
68 throw new IllegalArgumentException("properties cannot be empty");
70 List propsCopy = new ArrayList(properties);
74 ("properties["+i+"] is not a valid type");
77 this.properties = Collections.unmodifiableList(propsCopy);
100 List properties = new ArrayList(length);
104 properties.add(new DOMSignatureProperty((Element) child));
107 if (properties.isEmpty()) {
108 throw new MarshalException("properties cannot be empty");
110 this.properties = Collections.unmodifiableList(properties);
115 return properties;
132 // create and append any properties
133 for (int i = 0, size = properties.size(); i < size; i++) {
135 (DOMSignatureProperty) properties.get(i);
155 return (properties.equals(osp.getProperties()) && idsEqual);